10 ms·
> they become fulfilled promises with a value of undefined No they don't, which is why I made that clarification in the post :D const promise1 = Promise.rejec
by jaffathecake 4y ago
> they become fulfilled promises with a value of undefined
No they don't, which is why I made that clarification in the post :D
const promise1 = Promise.reject(Error("wow"));
// promise1 is rejected, and unhandled
const promise2 = promise1.catch(() => {});
// promise2 will be fulfilled, and is unhandled
// promise1 is still rejected, but now handled