Annex A of 5th Edition

Dean Landolt dean at
Sat Sep 8 08:05:24 PDT 2012

On Sat, Sep 8, 2012 at 8:54 AM, Jason Orendorff
<jason.orendorff at>wrote:

> On Sat, Sep 8, 2012 at 4:06 AM, Joseph Spencer
> <js.developer.undefined at> 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 through

They could be contextual keywords inside of modules, which would fix the
wart going forward w/o breaking backcompat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list