Choose the correct comparison operator to display "true", when: 10 is NOT equal to 8. - Javascript Operator

Javascript examples for Operator:Quiz

Description

Choose the correct comparison operator to display "true", when: 10 is NOT equal to 8.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = 10 != 8;
</script>/*from w ww .  j a  va 2  s. co m*/

</body>
</html>

Related Tutorials