HELP Shopping List

Tell us what’s happening:
SyntaxError: unexpected token: ‘]’

Although i followed the instructions and my code looks good to me.

Your code so far

var myList = [["milk", 2], ["bread", 3], ["cheese", 10], ["oranges", 25], "sausages", 5]];

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:

you´re missing out on one “[” before sausages :wink:

1 Like

You missed a [ for ["sausages",5]

1 Like

Thank you guys. You are awesome, i dont know how i missed that. I suppose it is all the hours that i have been staring at my laptop. lol :joy:

1 Like

happens to all of us :wink:
the longer you stare at it, the harder it gets to spot the error.
Often it gets better again during a break :slight_smile:

1 Like