摘要: 1. ts 中类的定义 es5: function Person(name) { this.name = name; this.run = function() { console.log(this.name) } } var p = new Person('张三') p.run() 1.1 ts 阅读全文
posted @ 2021-07-23 07:07 我就尝一口 阅读(135) 评论(0) 推荐(1) 编辑