Annex A of 5th Edition
dean at deanlandolt.com
Sat Sep 8 08:05:24 PDT 2012
On Sat, Sep 8, 2012 at 8:54 AM, Jason Orendorff
<jason.orendorff at gmail.com>wrote:
> On Sat, Sep 8, 2012 at 4:06 AM, Joseph Spencer
> <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 22.214.171.124 through 126.96.36.199.)
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...
More information about the es-discuss