修订错误

This commit is contained in:
ruanyf
2014-05-03 16:33:58 +08:00
parent e9ff296338
commit 4415a93eb3
2 changed files with 17 additions and 17 deletions
+14 -14
View File
@@ -55,20 +55,20 @@ node --harmony
```bash
$ node --v8-options | grep harmony
--harmony_typeof (enable harmony semantics for typeof)
--harmony_scoping (enable harmony block scoping)
--harmony_modules (enable harmony modules (implies block scoping))
--harmony_symbols (enable harmony symbols (a.k.a. private names))
--harmony_proxies (enable harmony proxies)
--harmony_collections (enable harmony collections (sets, maps, and weak maps))
--harmony_observation (enable harmony object observation (implies harmony collections)
--harmony_generators (enable harmony generators)
--harmony_iteration (enable harmony iteration (for-of))
--harmony_numeric_literals (enable harmony numeric literals (0o77, 0b11))
--harmony_strings (enable harmony string)
--harmony_arrays (enable harmony arrays)
--harmony_maths (enable harmony math functions)
--harmony (enable all harmony features (except typeof))
--harmony_typeof
--harmony_scoping
--harmony_modules
--harmony_symbols
--harmony_proxies
--harmony_collections
--harmony_observation
--harmony_generators
--harmony_iteration
--harmony_numeric_literals
--harmony_strings
--harmony_arrays
--harmony_maths
--harmony
```
+3 -3
View File
@@ -75,9 +75,9 @@ const arr = ['red', 'green', 'blue'];
for(let v of arr) {
console.log(v);
}
\\ red
\\ green
\\ blue
// red
// green
// blue
```