Short Comparing proposal

T.J. Crowder tj.crowder at farsightsoftware.com
Sat Feb 4 10:10:27 UTC 2017


On Fri, Feb 3, 2017 at 8:29 PM, Bob Myers <rtm at gol.com> wrote:

> If you're worried about short-circuiting, then
>
> ```
> [() => a, () => b].some(x => c === x())
> ```
>

Obviously, you're not telling anyone anything they don't know there. But as
it's both ugly and inefficient...

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


More information about the es-discuss mailing list