Jak ograniczyć liczbę elementów z tablicy w 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