摘要: //es6 function* letters() { console.log('a'); yield 'a'; console.log('b'); yield 'b'; while (true) { console.log('c'); yield 'c'; } } //polyfilling es 阅读全文
posted @ 2020-05-24 13:53 wangnima666 阅读(214) 评论(0) 推荐(0) 编辑