All challenges
Multiple ChoiceIntermediate 30s

this in Arrow Functions

Arrow functions:
Options
  1. 1Bind this dynamically to whatever object calls the function
  2. 2Have their own this created fresh on each invocation call
  3. 3Capture this lexically from the enclosing scope (no own this)
  4. 4Always bind this to globalThis regardless of where defined

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