All challenges
Multiple ChoiceIntermediate 30s

Object.assign

Choose the best answer for: Object.assign
Options
  1. 1Object.assign is a class method that merges class instances
  2. 2Object.assign copies own enumerable properties to target
  3. 3Object.assign merges prototypes into a new prototype object
  4. 4Object.assign creates deep copies including nested references

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