All challenges
Multiple ChoiceIntermediate 30s

Array splice

Choose the best answer for: splice method
Options
  1. 1splice(start, deleteCount, ...items) modifies array in place
  2. 2splice returns the modified array after mutating it in place
  3. 3splice creates a copy of the array with the removed elements
  4. 4splice only removes elements and never inserts or replaces

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