Function mozjs::jsapi::GetPromisePrototype
source · pub unsafe extern "C" fn GetPromisePrototype(
cx: *mut JSContext,
) -> *mut JSObject
Expand description
Returns the current compartment’s original Promise.prototype.