Update snippet descriptions
This commit is contained in:
@ -3,7 +3,7 @@ title: insertAt
|
||||
tags: array,intermediate
|
||||
---
|
||||
|
||||
Mutates the original array to insert the given values at the specified index.
|
||||
Mutates the original array to insert the given values after the specified index.
|
||||
|
||||
- Use `Array.prototype.splice()` with an appropriate index and a delete count of `0`, spreading the given values to be inserted.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user