All challenges
Multiple ChoiceHard 30s

Generator Functions

Choose the best answer for: function*
Options
  1. 1function* is an async declaration that returns a pending Promise
  2. 2function* is exactly the same as an ordinary function value
  3. 3function* returns a generator that yields values lazily
  4. 4function* creates a class with a constructor and prototype map

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