All challenges
Multiple ChoiceBeginner 180s

Go: Closure

What does a closure capture?
Options
  1. 1Only globals declared in the package
  2. 2Variables from enclosing scope
  3. 3Nothing, closures capture no state
  4. 4Only params passed into the function

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