I have an array as follows:
levelinfoarray["test"] = new Array(16,20,4,5,"Test level");
levelinfoarray[1] = new Array(29,25,17,13,"Introduction");
levelinfoarray[2] = new Array(16,24,6,4,"Counting...");
levelinfoarray[3] = new Array(16,20,4,5,"Where am I going?");
...
I want to iterate through the array and get the level number and level description like this
Test) Test level
1) Introduction
2) Counting...
3) Where am I going?
...
I have tried a for loop and a forEach, but both only give me the numbered entries. How would I get the "test" entry?