摘要: typescript02 typescript中的类 ES5中的类 构造函数 function Person() { this.name = 'Chen' this.age = 20 this.status = () => { console.log('Chen在睡觉') } } // 在原型链上增 阅读全文
posted @ 2022-03-24 17:24 菜鸡的菜 阅读(44) 评论(0) 推荐(0)