function Person(firstName, lastName){ this.firstName = firstName; this.lastName = lastName; } var Saad = new Person("sss", "mmm");
JavaScript 对象构造器
最新推荐文章于 2024-05-20 15:49:25 发布
function Person(firstName, lastName){ this.firstName = firstName; this.lastName = lastName; } var Saad = new Person("sss", "mmm");