Subj : RE: disabling toString() and toSource() for functions To : netscape.public.mozilla.jseng From : Merten Schumann Date : Wed Jan 19 2005 07:44 pm Ah, yes, makes sense (and is correct for my function;-). I think this is not a security problem, if someone could get to know how many params he has to hand over 8-) Thank you! Merten > -----Original Message----- > From: mozilla-jseng-admin@mozilla.org > [mailto:mozilla-jseng-admin@mozilla.org] On Behalf Of Igor Bukanov > Sent: Wednesday, January 19, 2005 7:36 PM > To: mozilla-jseng@mozilla.org > Subject: Re: disabling toString() and toSource() for functions > > Merten Schumann wrote: > > Igor, > > > > thanx - works fine! :-) > > > > I do get for my function "createJSObject()" > > > > function createJSObject() { > > [native code, arity=4] > > } > > > > BTW: what does this "arity=" mean? > > It is the number of arguments that JavaScript function > declare. In the > case of wrapped Java function it is just a number of argument of Java > function. > > Regards, Igor .