How to raise a number to power in Javascript

We can raise a number to a power using Math.Pow function. For example, if you want to raise 2 to the power 3


Math.Pow(2 , 3);

Scroll to Top