Update snippet descriptions
This commit is contained in:
@ -3,7 +3,7 @@ title: take
|
||||
tags: array,beginner
|
||||
---
|
||||
|
||||
Returns an array with n elements removed from the beginning.
|
||||
Creates an array with `n` elements removed from the beginning.
|
||||
|
||||
- Use `Array.prototype.slice()` to create a slice of the array with `n` elements taken from the beginning.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user