mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
f29bae250d
@ -991,7 +991,7 @@ function entries(obj) {
|
|||||||
|
|
||||||
## 对象的扩展运算符
|
## 对象的扩展运算符
|
||||||
|
|
||||||
《数组的扩展》一章中,已经介绍过扩展预算符(`...`)。
|
《数组的扩展》一章中,已经介绍过扩展运算符(`...`)。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const [a, ...b] = [1, 2, 3];
|
const [a, ...b] = [1, 2, 3];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user