W3School TIY
脚 本 学 堂 www.jbxue.com
编辑您的代码:
<html> <body> <script type="text/javascript"> document.write(Math.sqrt(0) + "<br />") document.write(Math.sqrt(1) + "<br />") document.write(Math.sqrt(9) + "<br />") document.write(Math.sqrt(0.64) + "<br />") document.write(Math.sqrt(-9)) </script> </body> </html>
查看结果: