This article needs a technical review. How you can help.
This article covers features introduced in SpiderMonkey 38
Return the original value of
JSObject * JS_GetErrorPrototype(JSContext *cx);
||Pointer to a JS context whose errors should be reported via your function. Other contexts in the same runtime can have their own error reporting functions.|
JS_GetErrorPrototype returns the original value of
Error.prototype from the global object of the current compartment of