Proposal idea: binding object/array and properties/elements in function argument at the same time

Yes - missed it!
Syntax aside, it solves the same problem, in a more verbose way though (and may clash with "as" in typescript...).

On syntax, it's

const {x: {y} as x} = {x: {y: 1}} // in the proposal

vs

const {x.{y}} = {x: {y: 1}}

Having a bigger thing in front of smaller matches the rest of the syntax, "as" looked a bit confusing at first. We can get used to either of course. Should I put the comment there?

Thank you!