javascript string boolean comparison code example
Example: 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