ランダム設定

■構文■
Math.random()


■サンプル■
ユニークな配列が得られる記述方法。
for(i=0; i < 100; i++){
n1 = Math.floor(Math.random() * title.length);
n2 = Math.floor(Math.random() * title.length);
n = AA[n1]; AA[n1] = AA[n2]; AA[n2] = n;
}