Last active
March 8, 2018 15:21
-
-
Save JunPyoL22/bc762e1a2b07741f2cfeef8b03338270 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 thisAtConstructorInvoke() { | |
console.log(this instanceof thisAtConstructorInvoke); // >> true | |
this.property = "default value"; | |
} | |
var instance = new thisAtConstructorInvoke(); | |
instance.property; // >> default value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment