<html>
<body>
<h2>JavaScript Comments are NOT Executed</h2>
<p id="demo"></p>
<script>
var x;
x = 5;
// x = 6; I will not be executed
document.getElementById("demo").innerHTML = x;
</script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_syntax_comments by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:28:11 GMT -->
</html>