DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
delay in javascript without await
const syncWait = ms => { const end = Date.now() + ms while (Date.now() < end) continue }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#delay
#javascript
#await
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit