pub unsafe extern "C" fn JS_PromiseState(
    ctx: *mut JSContext,
    promise: JSValue
) -> JSPromiseStateEnum