从Typescript看原型链
摘要:
话不多说先来段代码 ts class Parent { private name:string; constructor(name) { this.name = name; } public getName():string { return this.name; } public setName( 阅读全文
posted @ 2017-11-16 23:10 shineYao 阅读(692) 评论(0) 推荐(0) 编辑