function_new(){letnewObj={};letConstructor=Array.prototype.shift.call(arguments);//这里为什么不能直接letConstructor=arguments[0]呢?newObj.__proto__=Constructor.prototype;Constructor.apply(newObj,arguments);returnnewObj;}
胡说叔叔
慕婉清6462132
猛跑小猪
随时随地看视频慕课网APP
相关分类