-
-
Save myndzi/9e6232d86995341acb3c14ed32e1cec9 to your computer and use it in GitHub Desktop.
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
function Foo(bar) { | |
this.state = bar; | |
} | |
Foo.prototype.doStuff = function(baz) { | |
this.state = baz; | |
}; | |
Foo.prototype.getStuff = function () { | |
return this.state; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment