Annex A of 5th Edition
Dean Landolt
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 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120908/b3c50718/attachment-0001.html>
More information about the es-discuss
mailing list