Multiple ChoiceBeginner 30s
.then() Method
Choose the best answer for: .then()
Options
- 1.then() resolves the promise immediately without waiting
- 2.then(onFulfilled, onRejected) attaches callbacks to a promise
- 3.then() creates a new Promise but never runs its callbacks
- 4.then() catches errors and returns the rejected value directly
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.