pub const JS_INVALID_PROMISE_STATE: i32 = -1;