Proposing a conditional assignment (or equals) operator
Isiah Meadows
isiahmeadows at gmail.com
Tue Aug 15 06:21:39 UTC 2017
I'd like to see it myself, actually. Currently, the closest we have is this
(which only works for `undefined`s):
```js
[foo = "default"] = [bar]
```
On Mon, Aug 14, 2017, 21:11 Ari Porad <ari at ariporad.com> wrote:
> Hi All,
>
> Given that optional chaining is now stage–1, would there be interest in
> reviving this proposal? (This idea originated from my comment here
> <https://github.com/tc39/proposal-optional-chaining/issues/18#issuecomment-322329156>
> .)
>
> *Apologies if this isn’t the proper way to suggest this idea, it’s my
> first time posting on es-discuss!*
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170815/8fbfa726/attachment.html>
More information about the es-discuss
mailing list