7 lines
No EOL
113 B
JavaScript
7 lines
No EOL
113 B
JavaScript
function wait(ms) {
|
|
return new Promise(resolve => setTimeout(resolve, ms));
|
|
}
|
|
|
|
module.exports = {
|
|
wait
|
|
}; |