JavaScriptで乱数を取得したい場合には「random関数」を使います。 Math.floor()は、小数点以下を切り捨てるメソッドです。0.999なら0、3.21なら3という数値を返します。
According to this post on the official V8 Javascript blog, the pseudo-random number generator (PRNG) that V8 Javascript uses in Math.random() is horribly flawed and getting replaced with something a ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする