现在的位置: 首页 > 综合 > 正文

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

2012年07月29日 ⁄ 综合 ⁄ 共 155字 ⁄ 字号 评论关闭

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

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

网上看到的这条语句.

抱歉!评论已关闭.