This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
JSObjectOp is the type of several JSAPI callbacks that map an object to another object, or
NULL if an error or exception occurred.
typedef JSObject * (*JSObjectOp)(JSContext *cx, JSObject *obj);
The callbacks of this type are: