All challenges
Multiple ChoiceBeginner 180s

[JavaScript] Counter Function retains outer scope after return

createCounter() returns increment. How memory persists?
Options
  1. 1Closure
  2. 2Hoisting
  3. 3Event loop
  4. 4Promises

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