Strict mode recap

Erik Arvidsson erik.arvidsson at gmail.com
Mon Mar 31 21:45:47 PDT 2008


> >  > - Disable FunctionObject.arguments (not actually in ES3 but
> >  > woefully used in practice)
> >
> >  This is an interesting one, since disallowing it would mean that
> >  the ES3.1 and ES4 specs would have to re-allow it so that they could
> >  explicitly disallow it :)
>
> Yes. It's also an interesting test of how strong our stomachs are in
> codifying reality. Any web browser that doesn't provide these will
> break  (or be broken by) the web. However, it has never been specified
> and should never have been implemented or used. I do think that
> standards mode should include it and strict mode should ban it.
> Otherwise, de-facto JavaScript continues to differ too greatly from
> what's documented.

One of the important goals of ES3+R/ES3.1 is to be allow people to
create new JS interpreter from the spec and have it work with the web.
 Therefore we do need to specify FunctionObject.arguments even though
we all dislike it.

-- 
erik



More information about the Es4-discuss mailing list