const VS features detection

Mark S. Miller erights at google.com
Wed Jan 8 08:35:21 PST 2014


If all you want is a non verbose IIFE, use an arrow function. We should
consider do expressions only if they avoid the TCP violations of strict
arrow IIFEs.


On Wed, Jan 8, 2014 at 6:51 AM, Kevin Smith <zenparsing at gmail.com> wrote:

> Since "do-as-IIFE" carries with it a subset of the semantics carried by
> "do--as-block", I think it makes sense to proceed with the subset first,
> and expand if "do-as-IIFE" turns out to be surprising or lacking.
>
> IIUC, the goal here is to allow a sequence of statements to produce a
> value, not (necessarily) to allow arbitrary block semantics.
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140108/56a700d4/attachment.html>


More information about the es-discuss mailing list