JavaScript: Test Equality

By Xah Lee. Date: . Last updated: .

Double Equal Operator

Triple Equal Operator

Test Equality of Array/Object

Test Equality of NaN

To compare NaN, use:

Test Equality of Infinity

JavaScript Boolean

JavaScript Operators

BUY Ξ£JS JavaScript in Depth