Skip to content

Instantly share code, notes, and snippets.

@jeserkin
Created January 20, 2015 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeserkin/c5c53b7576629d8c6e04 to your computer and use it in GitHub Desktop.
Save jeserkin/c5c53b7576629d8c6e04 to your computer and use it in GitHub Desktop.
function someObject() {
this.someProperty = null;
};
someObject.prototype.setSomeProperty = function(someProperty) {
this.someProperty = someProperty;
};
someObject.prototype.getSomeProperty = function() {
return this.someProperty;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment