Implement delay(ms, value) - returns Promise that resolves after ms with value.
delay(ms, value)
Run your code to see results.
Click the Run button above
By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.