Skip to content

Instantly share code, notes, and snippets.

@spikebrehm
Created August 23, 2011 06:26
Show Gist options
  • Save spikebrehm/1164478 to your computer and use it in GitHub Desktop.
Save spikebrehm/1164478 to your computer and use it in GitHub Desktop.
function Person(name) {
this.name = name;
}
Person.prototype = {
hello : function() {
return "Hello, " + this.name;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment