Question: please solve question using JAVA SCRIPT please post clear code also 2. Use the spread operator to produce an array named seasons by concatenating the
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'); 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
