Comment limiter le nombre d'éléments d'un tableau en javascript
arr.slice(0,3)
// with 3 being the length of the array you desire
Collins Rollins
arr.slice(0,3)
// with 3 being the length of the array you desire