Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 772 Bytes

File metadata and controls

11 lines (6 loc) · 772 Bytes

=== and == in js

The equality operator (==) checks whether its two operands are equal, returning a Boolean result. Unlike the strict equality operator, it attempts to convert and compare operands that are of different types.

The strict equality operator (===) checks whether its two operands are equal, returning a Boolean result. Unlike the equality operator, the strict equality operator always considers operands of different types to be different.