Function mozjs::jsapi::GetPromiseConstructor

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

Returns the current compartment’s original Promise constructor.