Subj : Re: Problem with JavaScript functions To : Yuraukar From : Brendan Eich Date : Sat Sep 27 2003 12:48 pm Yuraukar wrote: >See the following line of code: > function f(a) { return a+3; } f(4); >This returns "Reference Error: a is not defined" > >Why this? The same code in jsshell properly returns 7 as expected. > Then you have a bug in your code that calls the JS API. Can you show that code? /be .