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

Function prevSong

assets/js/Music_Player.js:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70// Previous Song
71function prevSong() {
72 songIndex--;
73 if (songIndex < 0) {
74 songIndex = songs.length - 1;
75 }
76 loadSong(songs[songIndex]);
77 playSong();
78}
79
80// Next Song
81function nextSong() {

Callers

nothing calls this directly

Calls 2

loadSongFunction · 0.85
playSongFunction · 0.85

Tested by

no test coverage detected