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 <zenpars...@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@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to