We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
同步链接: https://www.shanejix.com/posts/[Snippet] - JavaScript Sleep/
const sleep = (milliseconds) => { return new Promise((resolve) => setTimeout(resolve, milliseconds)); };
usage:
await sleep(1000);
作者:shanejix 出处:https://www.shanejix.com/posts/[Snippet] - JavaScript Sleep/ 版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。 声明:转载请注明出处!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
usage:
The text was updated successfully, but these errors were encountered: