Build a Lunch Picker Program - Build a Lunch Picker Program

Tell us what’s happening:

my function logs the expected results for no 4 but this won’t work

Your code so far

let lunches = [];
let string = ''

function addLunchToEnd(lunches,string) {
  
lunches.push(string)

console.log(`"${lunches} added to the end of the lunch menu."`)

}

addLunchToEnd(lunches, "Tacos")

Your browser information:

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

Challenge Information:

Build a Lunch Picker Program - Build a Lunch Picker Program

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-lunch-picker-program/66db529d37ad966480ebb633.md at main · freeCodeCamp/freeCodeCamp · GitHub

you are logging the whole lunch menu, not the new lunch added to the lunch menu