Return: It returns the result of raising the first operand to the power of the second operand.
Example 1: In this example, we will use the exponentiation operator on positive numbers.
64 81 16 0.0625
Example 2: In this example, we will try to find the powers of a negative number before assigning it to a variable
Example 3: In this example, we will try to find the power of NaN
Please Login to comment...