typo
This commit is contained in:
Jacty
2017-04-22 02:32:49 +08:00
committed by GitHub
parent b2182920bb
commit fcdea67264
+1 -1
View File
@@ -591,7 +591,7 @@ rest // [2, 3, 4, 5]
const [first, ...rest] = [];
first // undefined
rest // []:
rest // []
const [first, ...rest] = ["foo"];
first // "foo"