Created
June 22, 2016 02:06
-
-
Save jwdotjs/6ef2ba77a8f88e153bf09105b86d504f 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
function Person() {} | |
Person.prototype.withRelated = [] | |
person = new Person(); | |
person.withRelated.push(1); | |
person = new Person() | |
console.log(person.withRelated) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment