Function mozjs_sys::jsapi::JS::GetPromisePrototype

source ·
pub unsafe extern "C" fn GetPromisePrototype(
    cx: *mut JSContext,
) -> *mut JSObject
Expand description

Returns the current compartment’s original Promise.prototype.