Skip to content

Instantly share code, notes, and snippets.

@stevez
Created October 17, 2011 03:25
Show Gist options
  • Save stevez/1291875 to your computer and use it in GitHub Desktop.
Save stevez/1291875 to your computer and use it in GitHub Desktop.
var s = new F(); // s get the F.prototype
s.a; // return 'b';
s.prototype; // return undefined
var string = new String(); //get String.property
var array = new Array(); //get Array.property
var num = new Number(); // get Number.property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment