function Person {}
Person.prototype.test = function() {
}
new Person()
new Person
这两种写法有相同的效果,不加括号为什么和前一个效果一样
MYYA
相关分类