js object destructuring into an object code example
Example 1: destructure to object
({x: oof.x, y: oof.y} = foo);
Example 2: js destructuring explained
const { identifier } = expression;
({x: oof.x, y: oof.y} = foo);
const { identifier } = expression;