javascript destructuring object like array code example Example: destructure to object ({x: oof.x, y: oof.y} = foo);