Prev Demo
Less Than Or Equal To With Greater Value At Left Operand In Javascript.
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>Less than or Equal to</h1> <b>Assigning left operand value is greater than the right operand value, the result gives</b> <p id="myId"></p> <script> var a = 3; var b = 1; var c = (a <= b); document.getElementById("myId").innerHTML = c; </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output