All challenges
Multiple ChoiceIntermediate 30s

setTimeout 0

Choose the best answer for: setTimeout(fn, 0)
Options
  1. 1setTimeout(fn, 0) defers execution to after current code finishes
  2. 2setTimeout(fn, 0) runs immediately before the current function ends
  3. 3setTimeout 0 is ignored and treated as a plain synchronous call
  4. 4setTimeout 0 is synchronous and blocks until the callback finishes

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