摘要: 1 class Point{ 2 constructor(x,y){ 3 this.x = x; 4 this.y = y; 5 } 6 toString(){ 7 return '(' + this.x + ',' + this.y + ')'; 8 } 9 } 10 var foo = new 阅读全文
posted @ 2019-11-24 11:32 jeff_zhu 阅读(1070) 评论(0) 推荐(0) 编辑