Comparison operations

suggest change

When using boolean coercion, the following values are considered “falsy”:

Everything else is considered “truthy”.

Abstract equality inequality and type conversion

NaN Property of the Global Object

Short-circuiting in boolean operators

Double Negation (!!)

Abstract equality

Bitwise operators

Null and undefined

Automatic Type Conversions

Logic Operators with Non-boolean values boolean coercion

Empty Array

Logic Operators with Booleans

Equality comparison operations

Inequality

Relational operators

Grouping multiple logic statements

List of Comparison Operators

Bit fields to optimize comparison of multi state data

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents