Skip to content

Instantly share code, notes, and snippets.

@scriptschat
Created September 24, 2020 12:30
Embed
What would you like to do?
type coercion while using != and !== operator (reference equality vs value equality)
false != 0 //false (here type coercion takes place)
false !== 0 //true (here boolean value false is evaluated against Numeric value zero)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment