If it's any consolation, you can currently use Babel (f.e with
Webpack, Browserify, etc) to compile do-expressions
(babeljs.io/docs/plugins/syntax-do-expressions), so you can use the
syntax right now.

On Sun, Jan 10, 2016 at 11:07 PM, Manuel Di Iorio <[email protected]> wrote:
> Thanks Caitlin for the workaround ;)
>
> However, as you can note, to write the following is not that much
> praticabile and readable:
>
>     ${()=>{
>       //code here
>     }()}
>
> At least, the do keyword will improve the situation with i.e:
>
>     ${do {
>       //code here
>     }}
>
> PS: Is w/ or w/o the curly braces after the do keyword (?)
>
>
> Hope to see news about the 'do' keyword adoption or something even better in
> the early future! :D
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to