编辑下面的代码:【加编码】
<html> <body> <p>Given that x=5, return the value of the comparison x!==5.</p> <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { var x=5; document.getElementById("demo").innerHTML=x!==5; } </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂