Answers for "compare boolean in javascript"

0

compare boolean in javascript

//to compare a boolean:
// signs to use - 
// "<" - Less than. 
// ">" - Greater than 
// "==" - Equal to 

if (13>7) // This is comparing if 13 is greater than 7 or not.

if (2<7) // This is comparing if 2 is less than 7 or not.

if (3==3) // This is comparing if the two numbers entered are equal
Posted by: Guest on March-24-2021

Code answers related to "compare boolean in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language