Need a little help with Shopping List

Tell us what’s happening:
This code won’t pass, I don’t know what I’m missing. The test gives me “Cannot read property of ‘0’ of undefined”. What does that mean?

Your code so far

var myList=[["Chocolate bar",15],["Water bottle",3],["Chips",2],["Coke",5]["Beer",10]];

Your browser information:

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

Link to the challenge:

hint: you missed someting here!

1 Like

Ohh i missed a comma! Thank you :slight_smile:

1 Like