implement-object-create 发表于 2018-12-06 | 分类于 基础 1234567if(typeof Object.create !== 'function'){ Object.create = function(proto){ var fNOP = function(){}; fNOP.protoype = proto; return new fNOP(); }}