random
種類
メソッド
書式
Math.random()
解説
乱数値を返します。
サンプルコード
n = Math.random();
alert("乱数値:"+n);
実際のスクリプトを
ダウンロード