摘要: let createIterator = items =>{ let i = 0; return { next () { let done = (i >= items.length); let value = !done ? items[i++] : undefined; return { done 阅读全文
posted @ 2018-01-25 15:07 journeyIT 阅读(15) 评论(0) 推荐(0) 编辑