title: JavaScript: Is it possible to attach images/information to an array item?
body: <p>For example, say I want an array of songs which gets randomized, outputting a song title. </p>
  
  <pre><code>  var myArray = ['song1', 'song2', 'song3'];
    var random = myArray[Math.floor(Math.random() * myArray.length)];
    document.write(random);
  </code></pre>
  
  <p>but if I also wanted that songs album cover plus the description of the artist, is that possible? I imagine it is if I were to manually add each one individually to my code, but what if I wanted 1000's of songs? </p>