Created
March 8, 2018 14:08
-
-
Save JunPyoL22/19f90d434258e1f1ac1f1bea0d70af1a 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
var methodInvoke = { | |
des : "calling function owned by object", | |
mean : function() { | |
console.log(this===methodInvoke); | |
console.log('method invocation is a ' + this.des); | |
} | |
} | |
methodInvoke.mean(); // >> true, method invocation is a calling function owned by object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment