Question: using java Script please in detail and clearley 2. Use the spread operator to produce an array named seasons by concatenating the following 2 arrays

2. Use the spread operator to produce an array named seasons by concatenating the following 2 arrays and adding extra elements "Cool!" and "Super Hot Summer!" as seasons. Input arrays: let cold = ['autumn', 'winter']; let warm = ['spring', 'summer'l; Output seasons array: ["Cool!", 'autumn', 'winter', 'spring', 'summer', "Super Hot Summer!")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
