Prev Demo
JavaScript
>
Array Iteration
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>Less than</h1> <b>Assigning left operand value less than the right operand value, the result gives</b> <p id="myId"></p> <script> var a = 6; var b = 10; var c = (a < b); document.getElementById("myId").innerHTML = c; </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output