function sleep(d){ for(var t = Date.now();Date.now() - t <= d;); } sleep(5000); //当前方法暂停5秒
Powered by: 博客园 Copyright © 2024 huhuuu Powered by .NET 9.0 on Kubernetes