变量解构赋值 let [a, b, c] = [1, 2, 3];console.log(a)console.log(b)console.log(c)let [foo, [[bar, baz]]] = [1,[[2, 3]]];console.log(foo, bar, baz);let [ , , third] = ["foo", "bar", "baz"];console.log(thir... 变量解构赋值 2023-12-22 34 点赞 0 评论 51 浏览