4 lines
74 B
JavaScript
4 lines
74 B
JavaScript
var o = [1, 2, 3]
|
|
var a, b, c, p
|
|
p = {a, b, c} = o
|
|
console.log(a, b, c, p) |