Skip to content

Instantly share code, notes, and snippets.

@jeserkin
Created January 20, 2015 21:35
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/45a4a17721403a3073ba to your computer and use it in GitHub Desktop.
Save jeserkin/45a4a17721403a3073ba to your computer and use it in GitHub Desktop.
var someObject = function() {
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