Created
August 8, 2015 05:59
-
-
Save chuck0523/e8604f2581a6aaabf6ed to your computer and use it in GitHub Desktop.
This file contains 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 Quo = function(string) { | |
this.status = string; | |
}; | |
Quo.prototype.get_status = function() { | |
return this.status; | |
} | |
var myQuo = new Quo("confused"); | |
console.log(myQuo.get_status()); // confused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment