摘要: 1 class MySet { 2 constructor(params) { 3 if (typeof params[Symbol.iterator] !== 'function') { 4 throw new TypeError('Set的参数不是一个可以迭代的对象') 5 } 6 this._ 阅读全文
posted @ 2020-02-02 00:22 那个村 阅读(605) 评论(0) 推荐(0)