1. function create(){
    2. // 新建一个对象
    3. let obj = new Object();
    4. // 取出构造函数
    5. let con = [].shift.call(arguments);
    6. // 链接prototype
    7. obj.__proto__ = con.prototype;
    8. // 执行构造函数
    9. let ret = con.apply(obj, arguments);
    10. return ret instanceof Object ? ret : obj
    11. }