Function js::jsapi::GetPromiseConstructor
[−]
[src]
pub unsafe extern "C" fn GetPromiseConstructor(
cx: *mut JSContext
) -> *mut JSObject
Returns the current compartment's original Promise constructor.