pow

The Math.pow() method returns the value of x to the power of y (xy).

Syntax

pow(x,y)

Returns

A number representing the value of x to the power of y (xy).

Parameters

x (float)
The base
y (float)
The exponent