.. cascade operator

Luan Nico luannico27+es-discuss at gmail.com
Wed Oct 10 13:40:22 UTC 2018


I agree with this, Dart has the exact thing and it's amazing. Not sure
what's the status or reason for not following through, though.

On Wed, Oct 10, 2018 at 3:54 AM Man Hoang <jolleekin at outlook.com> wrote:

> This operator should have been added years ago. It would enable many APIs
> to return more appropriate results instead of `this`.
>
>
>
> For example, `Set.prototype.add(value)` could return a boolean indicating
> if an item was actually added instead of `this`.
>
>
> _______________________________________________
> 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/20181010/f8b36c31/attachment.html>


More information about the es-discuss mailing list