"Harmony is a super-set of ES5 strict"

Mike Shaver mike.shaver at gmail.com
Fri Feb 25 07:46:38 PST 2011

On Fri, Feb 25, 2011 at 7:36 AM, David Bruant <bruant at enseirb-matmeca.fr> wrote:
> Does it mean that the "use strict" directive is implicit whenever an
> ESHarmony feature is used? (this sounds wrong, but I'm asing the question
> anyway)

It means that the semantics of Harmony are based on ES5-strict, not
ES5-unstrict, yes.  There will be no with, |this| will not be coerced
to an object wrapper, etc.

I don't know, tbh, what it means for things like Proxies which can be
implemented in ES5 contexts and therefore be accessed by non-strict
code, but I would expect that their semantics (values of |this|, f.e.)
would match those of strict mode, however they were called.


More information about the es-discuss mailing list