复制代码 代码如下:
function Sleep(n){
var a = new ActiveXObject("WScript.Shell");
a.Run("%comspec% /c ping -n " + n + " 127.0.0.1 > nul", 0, 1);
a = null;
}
时间: 2024-11-05 22:03:10
复制代码 代码如下:
function Sleep(n){
var a = new ActiveXObject("WScript.Shell");
a.Run("%comspec% /c ping -n " + n + " 127.0.0.1 > nul", 0, 1);
a = null;
}