Search
⌘K
Get Premium
Leetcode 2621. Sleep
Implement an asynchronous function sleep(millis) that returns a Promise which resolves after approximately millis milliseconds (minor timing deviations acceptable). Constraint: 1 <= millis <= 1000.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.