Annex A of 5th Edition
waldron.rick at gmail.com
Sat Sep 8 09:36:03 PDT 2012
On Saturday, September 8, 2012 at 11:05 AM, Dean Landolt wrote:
> On Sat, Sep 8, 2012 at 8:54 AM, Jason Orendorff <jason.orendorff at gmail.com (mailto:jason.orendorff at gmail.com)> wrote:
> > On Sat, Sep 8, 2012 at 4:06 AM, Joseph Spencer
> > <js.developer.undefined at gmail.com (mailto:js.developer.undefined at gmail.com)> wrote:
> > > Note: NaN and undefined aren't included in A.1 Lexical Grammar;
> > > however, Infinity is. Is this by design? My proposal adds them
> > > to A.1.
> > NaN, undefined, and Infinity aren't keywords in JS. They're just
> > global constants (see 126.96.36.199 through 188.8.131.52.)
> They could be contextual keywords inside of modules, which would fix the wart going forward w/o breaking backcompat.
I agree with the motivation, but having "two faces" (contextual and not) may create confusion.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss