Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Quo = function(string) {
- this.status = string;
- };
- Quo.prototype.getStatus = function() {
- return this.status;
- }
- var myQuo = new Quo("confused");
- console.log(myQuo.getStatus()); //confused
Add Comment
Please, Sign In to add comment