1 2 3 4 5 6 7
function foo({ x: xval }) { return xval; // ^ defined: 1 } foo({ x: { y: 1 } }).y; // ^ defined: 6