摘要: 构造函数创建对象: function Person() { } var person = new Person(); person.name = 'Kevin'; console.log(person.name) // Kevin Person 就是一个构造函数,我们使用 new 创建了一个实例对象 阅读全文
posted @ 2020-03-25 09:30 Leo_Charlie 阅读(176) 评论(0) 推荐(0)