Tell us what’s happening:
I am very confused as to where the error is. I tried to find it but cannot. What am I missing? I followed the example to the tee.
Your code so far
var myList = [["Caramel", 43],["Water", 54],["Jay", 4]["Kanye", 2]["Sack of Rice", 1]];
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.
Link to the challenge:
I would like to help you with this problem.
Solution is very simple, each element should be separated by
, (a comma) while expressing an array.
Separate your sub-arrays with comma.