JavaScript Math pow 方法 javascript dowhile 循环 JavaScript Math random 方法 JavaScript Math pow 方法 <html> <head> <title>JavaScript Math pow() Method</title> </head> <body> <script type = "text/javascript"> var value = Math.pow(7, 2); document.write("First Test Value : " + value ); var value = Math.pow(8, 8); document.write("<br />Second Test Value : " + value ); var value = Math.pow(-1, 2); document.write("<br />Third Test Value : " + value ); var value = Math.pow(0, 10); document.write("<br />Fourth Test Value : " + value ); </script> </body> </html> javascript dowhile 循环 JavaScript Math random 方法