Tell us what’s happening:
I do not understand why this is not working. Can somebody point out my error?
Your code so far
console.log("Grocery shopping list");
const shoppingList = [];
console.log("It will be nice to have some fruit to eat.");
shoppingList.push("Apples");
// User Editable Region
function getShoppingListMsg(){
return `Current Shopping List: ${shoppingList}`
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Challenge Information:
Build a Shopping List - Step 5