Last active
August 29, 2015 14:05
-
-
Save expalmer/4bc6203dc2a3f7134e78 to your computer and use it in GitHub Desktop.
Metalsmith Gist Test Example
This file contains hidden or 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 Animal = function ( name ) { | |
this.name = name; | |
} | |
Animal.prototype.getName = function () { | |
return this.name; | |
} | |
var tiger = new Animal('Tiger'); | |
tiger.getName(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment