Edit This Code:
See Result »
<!DOCTYPE html> <html> <body> <p>Assign 5 to x, and display the value of the comparison (x === 5):</p> <p id="demo"></p> <script> var x = 5; document.getElementById("demo").innerHTML = (x === 5); </script> </body> <!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_comparison4 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:03:04 GMT --> </html>
Result: