Subj : Re: relating to JS_DefineFunction To : netscape.public.mozilla.jseng From : SteveHolt Date : Tue Apr 26 2005 06:42 am Brendan Eich wrote: > > Not so: > > > > js> o = {__noSuchMethod__: function () { > > print(Array.prototype.toSource.call(arguments); > > }} Fantastic - that is even easier. I have deleted a bunch of code (which did work) and just implemented the "__noSuchMethod__" function. An added benefit is I know it is a function being requested, whereas my GetProperty approach had no idea. With the requested function name in arg[0] and the parameters as an array in argv[1] I have all I need, as you say. Thanks for your help. Steve .