Sobes.tech
Junior — Senior

What will be output to the console (example 70)

livecode

Task condition

Determine what the output will be in the console after executing the following JavaScript code.

Promise.reject("a")
  .catch((p) => p + "b")
  .catch((p) => p + "c")
  .then((p) => p + "d")
  .then((p) => console.log(p));

console.log("f");