Created initial assets
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
Provide only code without comments or explanations.
|
||||
### INPUT:
|
||||
async sleep in js
|
||||
### OUTPUT:
|
||||
```javascript
|
||||
async function timeout(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user