ES6走一波 Iterator

Iterator---> for ... of 循环

  Generator函数原生具有 Iterator接口,所以可采用数组的形式解构赋值

  

posted @ 2018-08-10 11:16  翰弟  阅读(131)  评论(0编辑  收藏  举报