File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
2015/09/javascript-iterables-and-iterators
2015/09/javascript-iterables-and-iterators Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ <h2 id="iterators">Iterators</h2>
382
382
return {
383
383
next: () => {
384
384
let value = this[index];
385
- let done = index == = this.length;
385
+ let done = index > = this.length;
386
386
index++;
387
387
return { value, done };
388
388
}
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ <h2 id="iterators">Iterators</h2>
390
390
return {
391
391
next: () => {
392
392
let value = this[index];
393
- let done = index == = this.length;
393
+ let done = index > = this.length;
394
394
index++;
395
395
return { value, done };
396
396
}
Original file line number Diff line number Diff line change 6
6
<description >A collaborative website about the latest JavaScript features and tools.</description >
7
7
<managingEditor >JS Rocks</managingEditor >
8
8
<webMaster >JS Rocks</webMaster >
9
- <pubDate >Fri, 09 Oct 2015 03:03:00 GMT</pubDate >
9
+ <pubDate >Sat, 17 Oct 2015 00:32:15 GMT</pubDate >
10
10
<language >cn</language >
11
11
<atom : link href =" http://jsrocks.org/cn/rss.xml" rel =" self" type =" application/rss+xml" />
12
12
Original file line number Diff line number Diff line change 6
6
<description >A collaborative website about the latest JavaScript features and tools.</description >
7
7
<managingEditor >JS Rocks</managingEditor >
8
8
<webMaster >JS Rocks</webMaster >
9
- <pubDate >Fri, 09 Oct 2015 03:03:00 GMT</pubDate >
9
+ <pubDate >Sat, 17 Oct 2015 00:32:15 GMT</pubDate >
10
10
<language >pt-br</language >
11
11
<atom : link href =" http://jsrocks.org/pt-br/rss.xml" rel =" self" type =" application/rss+xml" />
12
12
Original file line number Diff line number Diff line change 6
6
<description >A collaborative website about the latest JavaScript features and tools.</description >
7
7
<managingEditor >JS Rocks</managingEditor >
8
8
<webMaster >JS Rocks</webMaster >
9
- <pubDate >Fri, 09 Oct 2015 03:03:00 GMT</pubDate >
9
+ <pubDate >Sat, 17 Oct 2015 00:32:15 GMT</pubDate >
10
10
<language >en</language >
11
11
<atom : link href =" http://jsrocks.org/rss.xml" rel =" self" type =" application/rss+xml" />
12
12
You can’t perform that action at this time.
0 commit comments