Do-Expressions Proposal Stalled?

T.J. Crowder tj.crowder at farsightsoftware.com
Thu Jan 18 09:59:49 UTC 2018


On Thu, Jan 18, 2018 at 9:51 AM, Naveen Chawla <naveen.chwl at gmail.com>
wrote:
> const x = (tmp=>tmp*tmp+1)(f());

Sure, that's another way an arrow function (with its attendant overhead)
could be used for that specific example. Harder to read than the `do` or
the more verbose arrow I posted, but sure.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180118/09ce4215/attachment.html>


More information about the es-discuss mailing list