Last active
May 16, 2016 10:10
-
-
Save mariyadiminsky/4b1bfee816d8596f493d2082f5fa7d53 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
// Test it here: https://jsfiddle.net/maasha/x7wz1686/ | |
var bunny = { | |
name: 'Usagi', | |
showName: function() { | |
alert(this.name); | |
} | |
}; | |
bunny.showName(); // Usagi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment