What would be the output of the following code snippet? | Promise Based Output Question | Part Two

@Yomesh Gupta
function processing() {
  return new Promise((resolve, reject) => {
    resolve(1);
    reject("Failed");
    resolve(2);
  });
}

function init() {
  processing()
    .then((v) => console.log(v + 1))
    .catch((err) => console.log(err));
}

init();
Option 1
1
Failed
2
Option 2
2
Failed
3
Option 3
Failed
Option 4
2
Option 5
2
Failed
Option 6
Uncaught (in promise) Failed