Function script::dom::bindings::import::module::jsapi::JS::GetPromiseConstructor

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

Returns the current compartment’s original Promise constructor.