Which callbacks in this chain run after a then callback throws?
Promise.resolve(1)
.then((x) => {
console.log("a", x);
throw new Error("boom");
})
.then((x) => console.log("b", x))
.catch((error) => {
console.log("c", error.message);
return 3;
})
.then((x) => console.log("d", x))
.catch(() => console.log("e"));
The answer
Work out every line it logs, in order. Then check.
Checking your sign-in…