const p = Promise.reject(new Error('oops'));
p instanceof Promise; // truePromise.reject() creates a rejected Promise from an error or value.
Promise.reject('error') creates a rejected Promise.
Challenge: Verify that Promise.reject() returns a Promise instance (catch the rejection to avoid unhandled rejection).