javascript 一条语句实现随机数语句

alert(Math.round(Math.random()*10000));

WScript为var WshShell = WScript.CreateObject("WScript.Shell"); WshShell.popup(Math.round(Math.random()*10000));

网上看到的这条语句.

posted @ 2010-08-24 21:20  dzqabc  阅读(300)  评论(0编辑  收藏  举报