Usuń element od początku tablicy
let first = fruits.shift() // remove Apple from the front
// ["Banana"]
Ronnie
let first = fruits.shift() // remove Apple from the front
// ["Banana"]