Skip to content

Commit

Permalink
Update 02_for-of.js
Browse files Browse the repository at this point in the history
Described in #31
  • Loading branch information
jlnabais committed Jan 25, 2016
1 parent b6c2644 commit 1e19607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch06/12_generator-basics/02_for-of.js
Expand Up @@ -5,6 +5,6 @@ function* keywords () {
yield 'architecture';
}

for (keyword of keywords()) {
for (var keyword of keywords()) {
console.log(keyword);
}

0 comments on commit 1e19607

Please sign in to comment.