Last active
January 10, 2016 12:11
-
-
Save qetr1ck-op/03f646b3fd8e06c63562 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
const o1 = { | |
prop: 'prop' | |
} | |
const o2 = Object.setPrototypeOf({ | |
prop2: 'prop2' | |
}, o1); | |
console.log(o2.prop2, o2.prop) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment