Choose the correct comparison operator to display "true", when: 5 is less than 7. - Javascript Operator

Javascript examples for Operator:Quiz

Description

Choose the correct comparison operator to display "true", when: 5 is less than 7.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

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

<script>
document.getElementById("demo").innerHTML = 5 < 7;
</script>/*from   ww w. ja  v  a2 s  .co m*/

</body>
</html>

Related Tutorials