On Dec 23, 2010, at 11:59 AM, Dmitry A. Soshnikov wrote: > On 23.12.2010 22:39, Brendan Eich wrote: >> >> The .. is wanted by other extensions, and already used by ECMA-357 (E4X), >> FWIW. >> > > JFTR: and also in ECMA-262: > > 1..toString()
Yes, although if we added any .. as in Ruby or CoffeeScript it would, by the maximal munch principle, be tokenized instead of two dots. This is not a backward-compatible change as you note, but it's not a huge break either. It's rare to call methods on integer literals and one can always parenthesize. /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

