Edit This Code:
<!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>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy