All challenges
Multiple ChoiceIntermediate 30s

Closure Definition

Choose the best answer for: closures
Options
  1. 1A closure retains access to its outer scope even after outer function returns
  2. 2Closures are classes that capture their constructor scope when created
  3. 3Closures prevent garbage collection always, even after the outer ends
  4. 4Closures create new scopes only and cannot read outer variables

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