All challenges
Multiple ChoiceBeginner 30s

What is arrow function?

Choose the best answer for: What is arrow function?
Options
  1. 1Shorter function syntax: (x) => x * 2
  2. 2Unpacking values from objects into variables
  3. 3A loop construct that repeats statements
  4. 4A class definition declaring its fields

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