hi sir i need answar for this var myList = [["Banana", 3], ["Apple", 4], ["Orange", 5], ["Peach", 6], ["Pineaple", 7]];

Tell us what’s happening:
Describe your issue in detail here.

var myList = [[“Banana”, 3], [“Apple”, 4], [“Orange”, 5], [“Peach”, 6], [“Pineaple”, 7]];
Your code so far

const myList = [];
var myList = [["Banana", 3], ["Apple", 4], ["Orange", 5], ["Peach", 6], ["Pineaple", 7]];

Your browser information:

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

Challenge: Shopping List

Link to the challenge:

…?


Redeclaring this variable twice is not valid.