Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ PlayAudio
Function
PlayAudio
Simon Game/index.js:19–22 ·
view source on GitHub ↗
(evt)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
PlayAudio(evt){
20
var
audio =
new
Audio(
"sounds/"
+evt+
".mp3"
);
21
audio.play();
22
}
23
24
function
startOver(){
25
seq=[];
Callers
2
highlight
Function · 0.85
index.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected