Build a Shopping List - Step 5

Tell us what’s happening:

why is the step of building Shopping List not being submitted or is my code wrong?

function getShoppingListMsg(arr) {
return "Current Shopping List: " + arr;
}

Your code so far


// User Editable Region

function getShoppingListMsg(arr) {
  return "Current Shopping List: " + arr;
}


// User Editable Region

Your browser information:

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

Challenge Information:

Build a Shopping List - Step 5

This code passes the test for me. Try to reset the step and paste in this code again.

Is it possible you’ve deleted some of the previous code?