1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00
typo
This commit is contained in:
Jacty 2017-04-22 02:32:49 +08:00 committed by GitHub
parent b2182920bb
commit fcdea67264

View File

@ -591,7 +591,7 @@ rest // [2, 3, 4, 5]
const [first, ...rest] = [];
first // undefined
rest // []:
rest // []
const [first, ...rest] = ["foo"];
first // "foo"