用关键字new建立对象 new都作了什么(随笔)

function Person () { this.name = name; this.age = age; this.job = job; this.sayName = function () { return this.name; }; } var person = new Person("tom", 21, "WEB"); con
相关文章
相关标签/搜索