Object.create() 实现

if (typeof Object.create !== 'function') {
        Object.create = function (o) {
            function F() {}
            F.prototype = o;
            return new F();
        }
    }
原文地址:https://www.cnblogs.com/human/p/3478129.html