Articles → JavaScript → POW() Method In Javascript

POW() Method In Javascript






Purpose





Syntax


Math.pow(x,y)





Example


<html><head><title></title><script>
         alert(Math.pow(4,2));
      </script></head><body></body></html>



Output


Picture showing output of pow() function in JavaScript



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 7, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250