How about now, i tried everything but still don´t pass

Tell us what’s happening:
I don´t know what´s the error meaning, it says “it should duplicated arr1”, but didn´t i did that?

Your code so far


const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY'];
let arr2;

arr2 = [];  // Change this line
arr2 = arr2.concat(...arr1);
console.log(arr2);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36.

Challenge: Use the Spread Operator to Evaluate Arrays In-Place

Link to the challenge:

// Change this line means literally change that line. Remove the [] and replace it with your solution.

Also, you don’t need to use concat when using the spread operator.