All challenges
Multiple ChoiceIntermediate 30s

Dynamic Scope vs Lexical

Choose the best answer for: scope type in JS
Options
  1. 1this provides dynamic scope using the caller context
  2. 2JavaScript has lexical scope, not dynamic scope
  3. 3Scope in JavaScript is randomly assigned to each function
  4. 4JavaScript has dynamic scope so this resolves at call time

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