The spread operator (...) expands arrays:
let a = [1, 2]
let b = [3, 4]
let c = [...a, ...b]
console.log(c) // [1, 2, 3, 4]
// Copy an array
let copy = [...a]
// Insert in the middle
let d = [1, ...b, 5]
console.log(d) // [1, 3, 4, 5]
Spread is often cleaner than concat() and more flexible for positioning elements.