코드는 다음과 같습니다. 기능 수면 (n) { var a = new ActiveXobject ( "wscript.shell"); a.run ( "% comspec% /c ping -n" + n + "127.0.0.1> nul", 0, 1); a = null; }