Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
LogicalOperator-1
Logical Operator
<
,
>
evaluates the expression and return true or false.
<!DOCTYPE html> <html> <head> </head> <body> <p id="sample"></p> <script> var x = 9; var y = 3; document.getElementById("sample").innerHTML = (x < 10 && y > 1) + "<br>" + (x < 10 && y < 1); </script> </body> </html>
Output
×
Save This try
Title
Description
<p>Logical Operator <code><</code>, <code>></code> evaluates the expression and return true or false.</p>