Created
March 6, 2018 16:09
-
-
Save JunPyoL22/ef8583fbe9f7b70f3de8b25bb03f07cb 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
function thisAtfunctionInvoke(){ | |
console.log(this===window); | |
this.number = 20 | |
} | |
thisAtFunctionInvoke(); // >> true | |
console.log(window.number===20); // >> true | |
console.log(this === window); // >> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment