fork download
  1. function Person() {
  2. var name;
  3. this.getName = function () {
  4. return name;
  5. };
  6.  
  7. this.setName = function (newName) {
  8. name = newName;
  9. };
  10. }
  11.  
  12. var me = new Person();
  13. var you = new Person();
Success #stdin #stdout 0.41s 381888KB
stdin
Standard input is empty
stdout
Standard output is empty