.. cascade operator
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss