Skip to content

Instantly share code, notes, and snippets.

@mkuklis
Created May 4, 2011 16:30
Show Gist options
  • Save mkuklis/955525 to your computer and use it in GitHub Desktop.
Save mkuklis/955525 to your computer and use it in GitHub Desktop.
__proto__
function Foo() {};
Foo.prototype = {};
var foo = new Foo();
foo.__proto__ == Foo.prototype; // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment