Combine Two or More Arrays
const numbers = [1, 2, 3];
const letters = ['a', 'b', 'c'];
const symbols = ['!', '@', '#'];
// use spread operator
const combined = [...numbers, ...letters, ...symbols];
console.log('first', combined);
// older way
const combinedConcat = numbers
.concat(letters)
.concat(symbols);
console.log('second', combinedConcat);
If you click “Try it out” be sure to open your console.