Subj : Re: function expression To : netscape.public.mozilla.jseng From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Sat Jan 17 2004 04:55 pm Martin Honnen wrote: > Looking at the ECMAScript edition 3 specification section 14 defines a > Program to consist of SourceElements where a SourceElement is a > Statement or a FunctionDeclaration. > When SourceElements is evaluated it is processed first for function > declaration then the statements are evaluated. Yes, this seems to be the relevant part of the specification. Thanks -- Georg Maaß - bioshop.de D-76227 Karlsruhe, Westmarkstraße 82 HTML, XML / JavaScript, C++, Java, PHP, VB / CGI, JSP, ASP, ASP.net - The ultimate DHTML engine: http://gml-modul.sourceforge.net - http://sourceforge.net/projects/gml-modul .