摘要:
1.正常数组解构 let arr = ["1", undefined, "3", "4", "5", "6"] let [n1, n2 = "我是默认值", ...n5] = arr; console.log(n1) console.log(n2) console.log(n5) 拿到的结果如下 2 阅读全文
posted @ 2023-09-12 22:51
热爱前端的5号机器
阅读(1469)
评论(0)
推荐(0)


浙公网安备 33010602011771号