Articles → JavaScript → POW() Method In JavascriptPOW() Method In JavascriptIn this article, we will discuss the pow() method in JavaScript.Purpose pow() function implements exponentiation (i.e. "raise to the power")Syntax Math.pow(x,y)It means, "x" is multiplied by "y" number of times.Example <html><head><title></title><script> alert(Math.pow(4,2)); </script></head><body></body></html>Output Posted By - Karan Gupta Posted On - Thursday, May 7, 2020 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
Math.pow(x,y)
<html><head><title></title><script> alert(Math.pow(4,2)); </script></head><body></body></html>
Query/Feedback