All challenges
Multiple ChoiceIntermediate 30s

Nested Closures

Choose the best answer for: nested closures
Options
  1. 1Nested closures only see variables from the immediate parent fn
  2. 2Inner closures can access variables from ALL enclosing scopes
  3. 3Nested closures throw errors when accessing outer variables
  4. 4Nested closures share a scope with their siblings, not parents

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