- 博客(1)
- 收藏
- 关注
原创 ES6 学习记录 01
数组的解构赋值 //匹配undefined 并设置 默认值 和 匹配 x , constarr=["a",["b","c",["d"],[undefined,"g",["x"],["y"]]],"h",["l"]]; let[a,[,,,[u=1,,[x]]]]=arr; console.log(u); console.log...
2020-04-17 19:44:53
137
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人