Subj : Re: Function argument name vs. arguments[xx] To : netscape.public.mozilla.jseng From : "Michael Putters" Date : Thu Nov 20 2003 10:59 pm I have an error reporter set, didn't get any message.. Well, I'll try to fix that, thx "Brendan Eich" wrote in message news:3FBD1129.9030003@meer.net... > Michael Putters wrote: > > >Hi again, and sorry to bother you all again ;p > > > > > >function Square( value ) > >{ > > System.Print( arguments.length + '\n' ); // works > > System.Print( arguments[0] + '\n' ); // works > > System.Print( value + '\n' ); // fails > >} > > > > > >Ehm.. why? > > > > > > Please read > http://www.mozilla.org/js/spidermonkey/release-notes/NOICF.html, just > mentioned in this group in Phil's post at > news://news.mozilla.org:119/bpdpjb$8r52@ripley.netscape.com. > > Please also use JS_SetErrorReporter so you can see error reports. > You're flying blind without them. > > /be > .