函数不是构造函数,仅当new调用时,函数才是 构造函数调用.
new
Object.create = function(o) { function F(){} F.prototype = o; return new F(); };
Last updated 6 years ago