All challenges
Multiple ChoiceBeginner 30s

Array slice

Choose the best answer for: slice method
Options
  1. 1slice is just an alias for splice and mutates the array
  2. 2slice(start, end) returns a shallow copy of a portion
  3. 3slice mutates the original array by removing the selected part
  4. 4slice only works on strings and throws when called on arrays

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