Home
Premium · ₹999
← Top 20 questions
13.
Implement a delay
Medium
Mark as solved
Maximize editor
Description
Code
Description
Solution
Write a function that waits for a given number of milliseconds using a Promise.
JAVASCRIPT
code
console
Ctrl+Enter run
A−
A+
Loading...
Console
Run code to see output
Top 20 JavaScript Interview Questions for FAANG & Product Companies | Mentoxis Resources | Mentoxis