All challenges
Multiple ChoiceBeginner 30s

.then() Method

Choose the best answer for: .then()
Options
  1. 1.then() resolves the promise immediately without waiting
  2. 2.then(onFulfilled, onRejected) attaches callbacks to a promise
  3. 3.then() creates a new Promise but never runs its callbacks
  4. 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.

Play this in a 3-minute battle