Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ sleep
Function
sleep
blackjackgame/blackjack.js:28–30 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
26
}
27
28
function
sleep(ms){
29
return
new
Promise(resolve => setTimeout(resolve, ms));
30
}
31
32
async
function
blackjackStand(){
33
document.querySelector(
'#blackjack-hit-button'
).disabled = true;
Callers
1
blackjackStand
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected