Length of string

Inputs

  • String

Outputs

  • Length

Algorithm

/**
 * Length of string: 
 *
 * @param x1 String
 * @return {Array}
 */
function neuron528(x1)
{
return[x1.toString().length];
}

console.log(neuron528(18));

Create your family tree for free