I'm confused with this

I can’t understand this … my mind is kinda confused … somebody clear the doubt for me

thanks:)

Your code so far


var myList = [["Chocolate Bar", 14 ]]




console.log(myList);

Your browser information:

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

Challenge: Shopping List

Link to the challenge:

Well you need 4 more sublists in myList.

eg. var myList = [ [“Chocolate Bar”, 14 ], [“Chocolate Bar”, 13 ], …]

It helped me so much

Thank you
my doubt is now cleared

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