Skip to content
New issue

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

抽象控制对象中 Iterator 章节的代码例子问题 #30

Open
kcfuler opened this issue Apr 19, 2023 · 0 comments
Open

抽象控制对象中 Iterator 章节的代码例子问题 #30

kcfuler opened this issue Apr 19, 2023 · 0 comments

Comments

@kcfuler
Copy link

kcfuler commented Apr 19, 2023

具体位置: https://tsejx.github.io/javascript-guidebook/standard-built-in-objects/control-abstraction-objects/iterator
问题:

image

这段代码并不能展示出注释的效果
原因是 count next() 执行的时候没有自增

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant