On Sat, Sep 8, 2012 at 8:54 AM, Jason Orendorff
<[email protected]>wrote:

> On Sat, Sep 8, 2012 at 4:06 AM, Joseph Spencer
> <[email protected]> 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 15.1.1.1 through 15.1.1.3.)
>


They could be contextual keywords inside of modules, which would fix the
wart going forward w/o breaking backcompat.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to