MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / nextSong

Function nextSong

assets/js/Music_Player.js:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80// Next Song
81function nextSong() {
82 songIndex++;
83 if (songIndex > songs.length - 1) {
84 songIndex = 0;
85 }
86 loadSong(songs[songIndex]);
87 playSong();
88}
89
90// On Load - Select First Song
91loadSong(songs[songIndex]);

Callers

nothing calls this directly

Calls 2

loadSongFunction · 0.85
playSongFunction · 0.85

Tested by

no test coverage detected