Skip to content

Instantly share code, notes, and snippets.

@codermarcos
Created November 13, 2018 12:48
Show Gist options
  • Save codermarcos/d0466bc58799d398d5f928f90d03b868 to your computer and use it in GitHub Desktop.
Save codermarcos/d0466bc58799d398d5f928f90d03b868 to your computer and use it in GitHub Desktop.
Igualdade abstrata Javascript
1 == 1 // true
+0 == -0 // true
'1' == 1 // true
false == 0 // true
NaN == NaN // false
null == undefined // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment