Multiple ChoiceBeginner 30s
Array slice
Choose the best answer for: slice method
Options
- 1slice is just an alias for splice and mutates the array
- 2slice(start, end) returns a shallow copy of a portion
- 3slice mutates the original array by removing the selected part
- 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.