On Saturday, September 8, 2012 at 11:05 AM, Dean Landolt wrote:
> > > On Sat, Sep 8, 2012 at 8:54 AM, Jason Orendorff <[email protected] > (mailto:[email protected])> wrote: > > On Sat, Sep 8, 2012 at 4:06 AM, Joseph Spencer > > <[email protected] > > (mailto:[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. I agree with the motivation, but having "two faces" (contextual and not) may create confusion. Rick > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

