#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_Throw(
ctx: *mut JsContext,
obj: JsValue,
) -> JsValueExpand description
JS_Throw: replace the pending exception with obj, answering JS_EXCEPTION.
ยงSafety
ctx must be a live context and obj a live JSValue whose reference this call
consumes.