摘要:
javascript 省略号(...) 解构赋值 解构赋值可以从等号右侧的值中提取一个或多个保存到左边的变量中: let [a, b] = [1, 2] //let a=1, b=2 通常情况左侧多余的变量会被设置为undefined,右侧多余的变量会被忽略: let [a, b] = [1] // 阅读全文
摘要:
https://blog.csdn.net/weixin_40908748/article/details/106252884 https://zhuanlan.zhihu.com/p/489862322 https://zhuanlan.zhihu.com/p/489862322 省略号(...) 阅读全文