Double-equals (AKA "loose equality" which uses the syntax: var1 == var2 - Triple-Equals, which doesn't convert types, are common and will continue to be used. But there's a third way to do equality comparison: the Object.is() method. Simply put, Object.

2m read timeFrom mailchi.mp
Post cover image

Sort: