All challenges
Multiple ChoiceIntermediate 30s

requestAnimationFrame

Choose the best answer for: animation timing
Options
  1. 1requestAnimationFrame blocks rendering until the callback ends
  2. 2requestAnimationFrame schedules a callback before the next repaint
  3. 3requestAnimationFrame runs its callback every single millisecond
  4. 4requestAnimationFrame is exactly the same as setTimeout(fn, 0)

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