MCPcopy Create free account
hub / github.com/codemistic/Web-Development / stopSongs

Function stopSongs

sound board/script.js:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15})
16
17function stopSongs(){
18 sounds.forEach(sound => {
19 const song = document.getElementById(sound)
20
21 song.pause()
22 song.currentTime = 0
23 })
24}

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected