Basic JavaScript - Shopping List

Tell us what’s happening:
I’m not sure what I’m doing wrong

Your code so far

const myList = [
  ["Chicken Breast", 4]
  ["Protein Bar", 6]
  ["Red pepper", 4]
  ["almond milk", 2]
  ["Red wine", 1]];

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Shopping List

Link to the challenge:

You should separate the sub-arrays with a comma.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.