11 Aug
2009
11 Aug
'09
5:28 p.m.
When I define a callback function (JSObjectCallAsFunctionCallback), and I have it thrown an exception, what should be the return value? The documentation says: "A JSObject that is the constructor's return value" ... but the other side -- JSObjectCallAsFunction -- states: "The JSValue that results from calling object as a function, or NULL if an exception is thrown or object is not a function." So should I also be returning NULL from my callback functions if I'm throwing an exception? If so, you should probably improve the documentation there. [>] Brian