JavaScript Comparison and Logical Operators

Comparison and Logical operators are used to test for true or false. Logical operators are used to check some logical conditions.

Code :