Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf
2016-09-21 19:48:40 +08:00
+1 -1
View File
@@ -403,7 +403,7 @@ function* numbers () {
// 扩展运算符
[...numbers()] // [1, 2]
// Array.form 方法
// Array.from 方法
Array.from(numbers()) // [1, 2]
// 解构赋值