Multiple ChoiceBeginner 30s
.catch() Method
Choose the best answer for: .catch()
Options
- 1.catch(onRejected) resolves the promise with the error value
- 2.catch(onRejected) creates a pending promise and pauses execution
- 3.catch(onRejected) is shorthand for .then(null, onRejected)
- 4.catch(onRejected) is the same as calling .then(onRejected)
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.