Tell us what’s happening:
I am working with array topics and currently working with Step 7 to perform tasks as per the requirement, but it’s not clear and doesn’t go to the next step…
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");
function getShoppingListMsg(arr) {
return `Current Shopping List: ${arr}`;
}
console.log(getShoppingListMsg(shoppingList));
// User Editable Region
// 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/147.0.0.0 Safari/537.36
Challenge Information:
Build a Shopping List - Step 7