Expand to array using spread Post author By Amer Sikira Post date April 18, 2023 const originalArray = [1, 2, 3]; const clonedArray = [...originalArray]; console.log(clonedArray); // Output: [1, 2, 3] ← Merge array using rest