📚 Reference


📜 Chapter


pop()

concat()

Expressions & Operators

push()


arr.push(element1[, ...[, elementN]])

예시


const numbers = [1, 2, 3];
numbers.push(4);

console. log(numbers), // [1, 2, 3, 4]