Tags
1 page
For-Of
迭代器与可迭代协议:for...of 的底层
`iterable` 协议要求对象有 `[Symbol.iterator]()` 返回迭代器;迭代器有 `next()`