Subj : Re: js_GetArgument To : netscape.public.mozilla.jseng From : "itaj sherman" Date : Thu Jun 05 2003 12:58 pm ok got that. then i'll go back to my first example because i think there is another incompatibility there (with ECMA and IE): function MyFunc( par ) { var a = par; with( MyFunc ) { var b = par; } } in IE both a and b get the value the actual passed argument. with SpiderMonkey of mozilla 1.31, b will be undefined, because the lookup finds 'par' on MyFunc which is the first on the scope chain, and then getProperty is activated on MyFunc, using js_GetAegument(). .