Created
November 13, 2018 12:50
-
-
Save codermarcos/32b70fb613c59e68e71c7f988a0df211 to your computer and use it in GitHub Desktop.
Object.is Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.is( 1 , 1 ) // true | |
Object.is( +0 , -0 ) // false | |
Object.is( '1' , 1 ) // false | |
Object.is( false , 0 ) // false | |
Object.is( NaN , NaN ) // true | |
Object.is( null , undefined ) // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment