Skip to content

Instantly share code, notes, and snippets.

@JoaoCnh
Last active October 14, 2018 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoaoCnh/26319f5632adfa062924bec596b536f5 to your computer and use it in GitHub Desktop.
Save JoaoCnh/26319f5632adfa062924bec596b536f5 to your computer and use it in GitHub Desktop.
complex songs
const spotifySongs = [
{ id: 1, name: "Curl of the Burl", artist: "Mastodon", duration: 204 },
{ id: 2, name: "Oblivion", artist: "Mastodon", duration: 306 },
{ id: 3, name: "Flying Whales", artist: "Gojira", duration: 444 },
{ id: 4, name: "L'Enfant Sauvage", artist: "Gojira", duration: 246 }
];
const lastFmSongs = [
{ id: 5, name: "Chop Suey", artist: "System of a Down", duration: 192 },
{ id: 6, name: "Throne", artist: "Bring me the Horizon", duration: 186 },
{ id: 7, name: "Destrier", artist: "Agent Fresco", duration: 132 },
{ id: 8, name: "Out of the Black", artist: "Royal Blood", duration: 240 }
];
const allSongs = [spotifySongs, lastFmSongs];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment