I am using the lastFM api with this plugin. https://github.com/fxb/javascript-last.fm-api
I have a for loop that calls the "makeList" function 3 times based on an array of lastfm users.
var makeList = function( num ) {
// query using last fm api
// spits out an array of 3 objects
}
for ( var i = 0; i < 3; i ++ ){
makeList( i );
}
My questions: 1) How can I consolidate these arrays into 1 array with 9 objects 2) Can I randomize the items in the array?