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:
commit
46af4fb5fe
@ -403,7 +403,7 @@ function* numbers () {
|
||||
// 扩展运算符
|
||||
[...numbers()] // [1, 2]
|
||||
|
||||
// Array.form 方法
|
||||
// Array.from 方法
|
||||
Array.from(numbers()) // [1, 2]
|
||||
|
||||
// 解构赋值
|
||||
|
Loading…
x
Reference in New Issue
Block a user