A then that returns a value, registers a handler that is run after the main promise is resolved. All then that return values like this get the same result
A then that rejects or throws calls the first catch handler on all in the promise, defined by order, because JS…