Tell us what’s happening:
Describe your issue in detail here.
All the first elements in my Array, are strings as intended. But it still shows me an error.
Your code so far
const myList = [
//Veggies
["Tomat", 4,"Onions","Huckleberry","pepper"],
//Money
["See", 2000,3000,6000,7000,89],
//Drinks
[["M", 5,"Strawberries","Pear"],2,3],
["S", 67,"Spoons",789,900,90],
["I'm",30,50,8000,400, 50]
];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 OPR/97.0.0.0 (Edition 360-1)
Challenge: Basic JavaScript - Shopping List
Link to the challenge: