📅  最后修改于: 2022-03-11 15:01:19.136000             🧑  作者: Mango
代码示例1
Function.prototype.construct = function(aArgs) {
let oNew = Object.create(this.prototype);
this.apply(oNew, aArgs);
return oNew;
};