MCPcopy 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
28function sleep(ms){
29 return new Promise(resolve => setTimeout(resolve, ms));
30}
31
32async function blackjackStand(){
33 document.querySelector('#blackjack-hit-button').disabled = true;

Callers 1

blackjackStandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected