Revision: 53245
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 17, 2011 05:10 by luizlopes
Initial Code
if (typeof Object.create !== 'function') { Object.create = function (o) { function F() {} F.prototype = o; return new F(); }; } newObject = Object.create(oldObject);
Initial URL
http://javascript.crockford.com/prototypal.html
Initial Description
an operator that implements true prototypal Object inheritance in JavaScript
Initial Title
JavaScript Object Prototypal inheritance
Initial Tags
javascript, object
Initial Language
JavaScript