All challenges
Multiple ChoiceIntermediate 30s

Error Handling in Async

Choose the best answer for: try/catch with await
Options
  1. 1Async functions never throw, so try/catch is unused
  2. 2await catches errors automatically and resolves them
  3. 3try/catch does not work with await and never catches
  4. 4try/catch wraps await to handle rejected promises

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