标签:star 模拟 UNC get while gettime tar fun date()
function sleep(n) { var start = new Date().getTime(); while(true) { if(new Date().getTime() - start > n) break; } }
标签:star 模拟 UNC get while gettime tar fun date()
原文地址:https://www.cnblogs.com/liuswi/p/10102163.html