1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-06-08 06:30:54 +00:00

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
commit 46af4fb5fe

View File

@ -403,7 +403,7 @@ function* numbers () {
// 扩展运算符 // 扩展运算符
[...numbers()] // [1, 2] [...numbers()] // [1, 2]
// Array.form 方法 // Array.from 方法
Array.from(numbers()) // [1, 2] Array.from(numbers()) // [1, 2]
// 解构赋值 // 解构赋值