// 正确的写法
let x;
({x} = {x: 1});


// 错误的写法
let x;
{x} = {x: 1};
// SyntaxError: syntax error