I need help calling an array to display the days corresponding to the months selected from a drop down list. I have tried every possible tutorials and forums and I can not find any that help me compr

Test JS (They are not pictures)

var selectedArray;

function Calendar() {

    var array = [["","A1","B1","C1", "D1"],

    ["A2","B2","C2"],

    ["A3","B3","C3"],

    ["A4","B4","C4"],

    ["A5","B5","C5"],

    ["A1","B1","C1"],

    ["A2","B2","C2"],

    ["A3","B3","C3"],

    ["A4","B4","C4"],

    ["A5","B5","C5"]],

table = document.getElementById("calMonthz");

    


   


/* This works fine*/

/* You can either use or delete it altogether if you do not need it I don’t mind*/

for(var i = 1; i < table.rows.length; i++)

    {

      // cells

      for(var j = 0; j < table.rows[i].cells.length; j++)

      {

          table.rows[i].cells[j].innerHTML = array[i - 1][j];

      }

    }