pub unsafe fn NewPromiseObject( cx: *mut JSContext, executor: HandleObject<'_>, ) -> *mut JSObject
Use wrappers2 instead