let {x, y} = {x:1, y: 2}; console.log(x) // 1 console.log(y) // 2
let {x, y, ...t} = {x:1, y: 2, a:3, b:4}; console.log(x) // 1 console.log(y) // 2 console.log(t) // {a:3, b:4}