Tell us what’s happening:
Describe your issue in detail here.
I cannot find out what is happening as my tests are not getting passed and an error cannot read ‘message’ is displaying on my console.
Your code so far
const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY']; let arr2; arr2 = [...arr1]; // Change this line 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/91.0.4472.77 Safari/537.36
Challenge: Use the Spread Operator to Evaluate Arrays In-Place
Link to the challenge: