Object.create实现 - xiaonuonuo/blog GitHub Wiki
if (!Object.created) {
Object.created = (function(){
function F(){}
return function(o){
if (arguments.length != 1) {
throw new Error('Object.create implementation only accepts one parameter.');
}
F.prototype = o;
return new F()
}
})()
}