What boolean operators does JavaScript support?- A boolean operator represents one of the two values like:
a. YES/NO b. TRUE/FALSE c. ON/OFF
- Javascript generally supports the true and false values.
- A Boolean() function can be used to find out if an expression is true.
- The boolean value expression is the fundament for comparison and conditions.
- Some of the comparison and conditions operators used with boolean are:
1. == : equal to 2. > : greater than 3. < : less than
- As javascript treats the primitive values as the objects while executing the methods and the properties the boolean values are also available for the primitive values.
|