> I don’t mind terribly, but I liked the idea of implicitly switching to strict
> mode via `module { ... }`, as it meant that there would be less visual
> clutter.
>
> Correct me if I'm wrong (just trying to undestand this): you're looking for
> something simple like
>
> {
> let ...
> }
>
> That also has the implicit strictness of module body?
Yes, exactly! Well, maybe more like wondering what inline module bodies are
best replaced with. They originally seemed like the ES6 version of the
top-level IIFE, with the advantage of implicit strictness (compared to normal
blocks + `let`).
--
Dr. Axel Rauschmayer
[email protected]
home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss