Last active
July 17, 2017 08:04
-
-
Save kotAPI/26fe9ff4f26bcbb832a16f98f32b1de3 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 myObject = { | |
name: "Matt Murdock", | |
age: 28, | |
callFunction:function(){ | |
console.log("My name is "+ this.name + " and I’m " +this.age+ " years old." | |
} | |
} | |
myObject.callFunction(); | |
//=> My name is Matt Murdock and I'm 28 years old. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment