Skip to content

Instantly share code, notes, and snippets.

@soc221b
Last active February 27, 2019 04:27
Show Gist options
  • Save soc221b/ca11d3ea17fab856c5a8210a950be9e3 to your computer and use it in GitHub Desktop.
Save soc221b/ca11d3ea17fab856c5a8210a950be9e3 to your computer and use it in GitHub Desktop.
assert(inst.__proto__ === Foo.prototype)
assert(obj.__proto__ === Object.prototype)
assert(Foo.__proto__ === Function.prototype)
assert(Function.__proto__ === Function.prototype)
assert(Object.__proto__ === Function.prototype)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment