pow
pow(n: number) → {number}
Calculates the power of a number.
Name | Type | Description |
---|---|---|
n | number |
The number to be raised to the power of 2. |
Type | Description |
---|---|
number |
The result of raising the number to the power of 2. |