Loading

摘要: new操作符用于创建一个给定构造函数的实例对象 demo demo1 function Person(name, age) { this.name = name; this.age = age; } Person.prototype.sayName = function () { console.l 阅读全文
posted @ 2022-03-03 11:32 shanejix 阅读(27) 评论(0) 推荐(0)