You can try to convert a multidimensional array into an array of such objects:
var concertArray = [ {name: "Billy Joel", value: 99, image: "equal.png"}, {name: "Bryan Adams", value: 89, image: "higher.png"}, {name: "Brian Adams", value: 25, image: "lower.png"} ];
Then you can access the elements in the array, just like regular objects:
var concertName = concertArray[0].name; var concertPrice = parseFloat(concertArray[0].value); var concertImage = concertArray[0].image;
source share