Subj : Re: javascript:reply('37004') does not work To : netscape.public.mozilla.jseng From : Leon Date : Sat Mar 05 2005 04:30 pm On Sat, 05 Mar 2005 07:51:08 -0800, Brendan Eich wrote: > Bob Clary wrote: >> which contains a function named goto. goto is a reserved identifier >> and can not be used as a function name. This error causes the rest of >> the script to fail to compile. Change the function name from goto to >> something else and it will work. > > > For web compatibility, I recently (after Firefox 1.0, 1.0.1, and any > 1.0.x release we might do later) changed the reserved-identifier error > into a strict warning. IE apparently allows function f(char){...}. See > https://bugzilla.mozilla.org/show_bug.cgi?id=240317. > > So in Firefox 1.1 and other products based on the Mozilla 1.8 milestone > (or later), Leon's page will work as it does in IE. > > But this IE-induced slop does fly in the face of ECMA-262 Edition 3 > section 7.5.3. > > /be So, if I understood correct, this problem is a temporal problem. .