ES4 draft: strict mode

Mark Miller erights at gmail.com
Wed Apr 16 18:37:41 PDT 2008


On Wed, Apr 16, 2008 at 6:09 PM, liorean <liorean at gmail.com> wrote:
>  __ES4__ is per default open in ES4 mode but not in ES3 mode, it's a
>  way to protect the ES3 namespace from being infected by names and
>  functionality that could break live ES3 programs.


I see. I was wondering about the obvious compatibility problems of
introducing a new global variable name. This answers that, and is
obviously the right thing for ES4 to do. (And is not a detail!)

Now that I understand, I will not suggest adding 'global' to ES3.1. Thanks.


-- 
Text by me above is hereby placed in the public domain

 Cheers,
 --MarkM



More information about the Es4-discuss mailing list