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

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

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

网上看到的这条语句.

原文地址:https://www.cnblogs.com/dongzhiquan/p/1994570.html