We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本周精读的文章是 Iterables 与 Iteration protocols,按照为什么需要迭代器、迭代器是如何设计的,我们还能怎么利用迭代器展开来讲。
精读《迭代器 Iterable》
The text was updated successfully, but these errors were encountered:
为什么 对象不具备迭代器 仍然可以使用展开运算 不能for of
示例
const obj = {} const o = { ...obj }
Sorry, something went wrong.
@zq0904 对象不支持 [ ...obj ],这才是迭代器展开。
[ ...obj ]
是不是 用 迭代器 实现 async/await 的吗?
为什么对象可以支持for in,for in 不算迭代吗
No branches or pull requests
本周精读的文章是 Iterables 与 Iteration protocols,按照为什么需要迭代器、迭代器是如何设计的,我们还能怎么利用迭代器展开来讲。
精读《迭代器 Iterable》
The text was updated successfully, but these errors were encountered: