var o = new Foo(); JavaScript 实际上执行的是: var o = new Object(); o.[[Prototype]] = Foo.prototype; Foo.call(o);