From 4415a93eb30bf280b935e0c72746cee51516334b Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 3 May 2014 16:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/intro.md | 28 ++++++++++++++-------------- docs/iterator.md | 6 +++--- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/intro.md b/docs/intro.md index e12c114..c4c9980 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -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 ``` diff --git a/docs/iterator.md b/docs/iterator.md index 7eefae6..0ca0aea 100644 --- a/docs/iterator.md +++ b/docs/iterator.md @@ -75,9 +75,9 @@ const arr = ['red', 'green', 'blue']; for(let v of arr) { console.log(v); } -\\ red -\\ green -\\ blue +// red +// green +// blue ```