๐ Reference
๐ย Chapter
push()
โฃ
arr.pop()
const numbers = [1, 2, 3]; const lastNumber = numbers.pop); console.log(numbers); // [1, 2] console.log(lastNumber); // 3