Subj : JS_GetFunctionObject To : netscape.public.mozilla.jseng From : SteveHolt Date : Tue Apr 19 2005 08:21 am In the SpiderMonkey documentation it says of JS_GetFunctionObject "JS_GetFunctionObject retrieves the object for a specified function pointer, fun. All functions are associated with an underlying object. For functions you create with JS_NewFunction, the object is automatically created for you. For functions you define with JS_DefineFunction and JS_DefineFunctions, you specify the object(s) as a parameter." I think I have convinced myself that the last sentence is incorrect, and this call will always return an object of class Function, not the object from which the function is invoked. Am I right? Steve .