Last active
March 15, 2019 17:57
-
-
Save silent-lad/72045a2cab76d253fe901c6814b1971a to your computer and use it in GitHub Desktop.
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
let confused = { | |
those: function() { | |
console.log(this === window); | |
}, | |
these: ()=> { | |
console.log(this === window); | |
} | |
} | |
confused.those(); //False | |
confused.these(); //True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment