function Foo() { } Foo.prototype.getName = function () { alert(3); }; var foo = new Foo(); foo.getName(); Foo.getName();
隔江千里
相关分类