Skip to content

Instantly share code, notes, and snippets.

@jonathanhculver
Created March 22, 2014 21:58
Show Gist options
  • Save jonathanhculver/9715012 to your computer and use it in GitHub Desktop.
Save jonathanhculver/9715012 to your computer and use it in GitHub Desktop.
playlistmodule
playlistModule.addTrack('a');
playlistModule.addTrack('b');
playlistModule.addTrack('c');
playlistModule.addTrack('d');
playlistModule.getTracks()
["a", "b", "c", "d"]
playlistModule.shuffleTracks()
["d", "c", "a", "b"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment