Created
February 3, 2011 03:41
-
-
Save copenhas/809012 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 linkedChild1 = Object.create(sharedParent); | |
| var linkedChild2 = Object.create(sharedParent); | |
| //now you become a Panda... but it could effect everyone else making them sad | |
| linkedChild1 = Panda(linkedChild1); | |
| var unlinked1 = Object.create(parent.clone()); | |
| var unlinked2 = Object.create(parent.clone()); | |
| //now you become a Grizzly leaving everyone else behind so you can eat them | |
| var raaar = Grizzly(unlinked1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment