All challenges
Multiple ChoiceHard 30s

WeakSet

Choose the best answer for: WeakSet
Options
  1. 1WeakSet allows any type including primitives and strings as members
  2. 2WeakSet holds objects without preventing their garbage collection
  3. 3WeakSet is the same as Set except it exposes fewer helper methods
  4. 4WeakSet iterates with forEach and exposes a size property like Set

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