Guest User

Untitled

a guest
Sep 21st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. var Quo = function(string) {
  2. this.status = string;
  3. };
  4.  
  5. Quo.prototype.getStatus = function() {
  6. return this.status;
  7. }
  8.  
  9. var myQuo = new Quo("confused");
  10. console.log(myQuo.getStatus()); //confused
Add Comment
Please, Sign In to add comment