From 2edd0b1776cebc81fb4f944694015b0fe261eea5 Mon Sep 17 00:00:00 2001 From: Ruan Yifeng Date: Thu, 13 Nov 2014 09:16:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9intor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/intro.md | 2 +- docs/reference.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/intro.md b/docs/intro.md index 53cb1fe..9be78ec 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -245,7 +245,7 @@ fs.writeFileSync('out.js.map', result.sourceMap); ES7可能包括的功能有: -(1)**Object.observe**:对象与网页元素的双向绑定,只要其中之一发生变化,就会自动反映在另一者上。 +(1)**Object.observe**:用来监听对象(以及数组)的变化。一旦监听对象发生变化,就会触发回调函数。 (2)**Multi-Threading**:多线程支持。目前,Intel和Mozilla有一个共同的研究项目RiverTrail,致力于让JavaScript多线程运行。预计这个项目的研究成果会被纳入ECMAScript标准。 diff --git a/docs/reference.md b/docs/reference.md index 11219ff..3e2e9ba 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -21,6 +21,7 @@ ## 语法点 +- Kyle Simpson, [For and against `let`](http://davidwalsh.name/for-and-against-let): 讨论let命令的作用域 - Nick Fitzgerald, [Destructuring Assignment in ECMAScript 6](http://fitzgeraldnick.com/weblog/50/): 详细介绍解构赋值的用法 - Nicholas C. Zakas, [Understanding ECMAScript 6 arrow functions](http://www.nczonline.net/blog/2013/09/10/understanding-ecmascript-6-arrow-functions/) - Jack Franklin, [Real Life ES6 - Arrow Functions](http://javascriptplayground.com/blog/2014/04/real-life-es6-arrow-fn/)