码云 前端开发 `Iterator`是什么,有什么作用? 遍历器(Iterator)就是这样一种机制。它是一种接口,为各种不同的数据结构提供统... for…of Iterator next() 遍历器