On Mon, Nov 4, 2013 at 2:41 PM, Axel Rauschmayer <[email protected]> wrote:
> On 05 Nov 2013, at 6:35 , Mark S. Miller <[email protected]> wrote: > > On Mon, Nov 4, 2013 at 11:21 AM, Axel Rauschmayer <[email protected]>wrote: > >> My bad: I should have made it clear that I wanted top-level blocks in >> strict mode. Modules are implicitly in strict mode, normal code blocks >> aren’t. I was looking for a way to avoid `'use strict';` >> > > Hi Axel, > Why were you looking for a way to avoid 'use strict'; ? > > > 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? Rick
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

