Is there a proposal for optional chaining usable with setting properties

36 Views Asked by At

Assigning a variable using optional chaining? asked the question about setting properties in a manner similar to optional chaining, e.g., foo?.bar?.baz?.quux = 'quux' .

I'd like to ask more specifically if there is a proposal in the works to implement this (I didn't see one at https://github.com/tc39/proposals ), and if not, whether this was due to the original proposal rejecting the idea out of hand for some reason or another.

0

There are 0 best solutions below