All challenges
Multiple ChoiceIntermediate 30s

AbortController

Choose the best answer for: canceling fetch
Options
  1. 1Only for POST: signal-based aborts apply to POST but not GET
  2. 2Use timeout only: rely on request timeout, not side effects
  3. 3AbortController.signal aborts in-flight requests
  4. 4Can't cancel fetch: promise resolves on its own eventually

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