All challenges
Multiple ChoiceBeginner 30s

for...of Loop — Iterables

Choose the best answer for: for...of
Options
  1. 1for...of is the same as for...in and iterates own keys
  2. 2for...of works on plain objects that have a length property
  3. 3for...of iterates keys while for...in iterates the values
  4. 4for...of iterates over iterable values (arrays, strings, maps)

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