We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88711c4 commit dedd27aCopy full SHA for dedd27a
1 file changed
1-js/12-generators-iterators/1-generators/article.md
@@ -169,8 +169,8 @@ let range = {
169
170
// for..of range 在一开始就调用一次这个方法
171
[Symbol.iterator]() {
172
- // ...它返回可迭代对象(iterator):
173
- // 后续的操作中,for..of 将只针对这个可迭代对象,要求它提供下一个值
+ // ...它返回 iterator object:
+ // 后续的操作中,for..of 将只针对这个对象,并使用 next() 向它请求下一个值
174
return {
175
current: this.from,
176
last: this.to,
0 commit comments