From d3a84beec07416e9753be6b0b1cf3dfe8deb4037 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 22 May 2014 01:27:08 +0200 Subject: readme fixes --- js/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/README.md b/js/README.md index 8e2a373da..628e2c012 100644 --- a/js/README.md +++ b/js/README.md @@ -9,7 +9,7 @@ then run: The news app uses [Traceur](https://github.com/google/traceur-compiler) to transpile ES6 into ES5. If you want to take a look at the features see [the language features reference](https://github.com/google/traceur-compiler/wiki/LanguageFeatures#language-features). -### Iterator +### Iterators The following iterators are defined and availabe: * **items**: @@ -23,7 +23,7 @@ The following iterators are defined and availabe: * **enumerate**: ```js - // iterate over object key and value + // iterate over list and get the index and value for (let [index, value] of enumerate(list)) { console.log(`at position: ${index}, value is: ${value}`) } -- cgit v1.2.3