ES6走一波 Iterator

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

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

  

原文地址:https://www.cnblogs.com/wenhandi/p/9453901.html