`Promise.reject(reason)` returns a promise that is already rejected with `reason`. Use it when a rejected promise is needed; a rejection handler passed as the second callback to `.then` receives that reason. section 30.3 section 30.4
Promise.reject('my value').then(null, reason => {
console.log('Rejected with:', reason); 1
});
!@%STYLE%@!
{"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":1,\"ch\":55},{\"line\":1,\"ch\":56}]]"}
!@%STYLE%@!
This example rejects with `'my value'`, then passes the rejection reason to `.then`’s rejection callback. section 30.3
