๐ย Reference
๐ Chapter
โฃ
โฃ
โฃ
array.concat([value1[, value2[, ...[, valueN]]]])
๋ฐฐ์ด๋ช
.concat(๊ฐ)
let arr1 = ["์ฌ๊ณผ", "๋ฐฐ", "ํ๋ผ๋ด", "ํฌ๋", "๋ฐ๋๋"];
let arr2 = ["ํ์ธ์ ํ", "๋ณต์ญ์"];
// ['์ฌ๊ณผ', '๋ฐฐ', 'ํ๋ผ๋ด', '๋ฐ๋๋', 'ํ์ธ์ ํ', '๋ณต์ญ์']
console.log(arr1.concat(arr2));