Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf
2017-04-22 23:40:33 +08:00
+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"