Skip to content

Instantly share code, notes, and snippets.

@stevez
Created October 17, 2011 03:29
Show Gist options
  • Select an option

  • Save stevez/1291880 to your computer and use it in GitHub Desktop.

Select an option

Save stevez/1291880 to your computer and use it in GitHub Desktop.
var F = function() {}; // This is a function object.
var p = F.prototype; // This is the prototype object associated with it.
var c = p.constructor; // This is the function associated with the prototype.
var c === F; // => true: F.prototype.constructor==F for any function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment