1//create object
2var myObj = {
3 "artist" : artist, //your artist variable
4 "song_name" : title //your title variable
5};
6//push the object to your array
7favorites.push( myObj );
1var feed = {created_at: "2017-03-14T01:00:32Z", entry_id: 33358, field1: "4", field2: "4", field3: "0"};
2
3var data = [];
4data.push(feed);
5
6console.log(data);