x to the a (xª)

Description

value of the number x to be the power of a

Inputs

  • x - The base
  • a - The exponent

Outputs

  • The value of x to the power of y

Algorithm

/**
 * x to the a  (xª): value of the number x to be the power of a
 *
 * @param x1 x - The base
 * @param x2 a - The exponent
 * @return {Array}
 */
function neuron18(x1, x2)
{
return[Math.pow(Number(x1), Number(x2))];
}

console.log(neuron18(807, 306));

Create your family tree for free