Promises & then/catch

What are the two parameters in the Promise executor function?
const promise = new Promise((resolve, reject) => {
  if (condition) {
    resolve(value);
  } else {
    reject(error);
  }
});
Next Question (2/21)