Last active
May 20, 2018 21:06
-
-
Save ilko725/f98baf2a2b6d65ccf9faf574ea49923c 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 parametr = 'huy' | |
var obj = { | |
a: function(p) { console.log('function a ' + p) }, | |
b: function(p) { console.log('function b ' + p) }, | |
c: function(p) { console.log('this is function c'); return this.a(p) }, | |
}; | |
obj.a(parametr); | |
obj.b(parametr); | |
obj.c(parametr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment