Subj : Re: E4X support in mozilla? To : =?ISO-8859-1?Q?Georg_Maa=DF?= From : Brendan Eich Date : Thu Jan 06 2005 10:46 am Georg Maaß wrote: > Brendan Eich wrote: > >> You can't write 42() in JS and have it evaluate to 42, > > > Are you sure? > > I get, what I expect: > > Error: number is not a function > > This is not 42. Right -- I wrote "can't", not "can" above ;-). Have you had a chance to try E4X in SpiderMonkey yet? The DOM binding is not done yet, but you can write and other such things. E4X is also enabled in JS XPCOM components, and it's being used there for the Lightning project (http://wiki.mozilla.org/index.php/Calendar:Lightning). /be .