pow

pow(n: number) → {number}

Calculates the power of a number.

Parameters:
Name Type Description
n number

The number to be raised to the power of 2.

Returns:
Type Description
number

The result of raising the number to the power of 2.

Powered by webdoc!