<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>little_strange</author_name>
  <author_url>https://blog.hatena.ne.jp/little_strange/</author_url>
  <blog_title>Little Strange Software</blog_title>
  <blog_url>https://little-strange.hatenablog.com/</blog_url>
  <categories>
    <anon>HTMLなど</anon>
  </categories>
  <description>どうも！LSSです！！ 乱数のテスト もし乱数が偏っていたら？ テスト結果 今回のテストに使用したコード あとがき 乱数のテスト この記事の冒頭にある「テスト」ボタンを押すと、その下に10×10、100個のボックスが出てきます。 中には数字が入っていて、赤っぽい色になっています。 これは、以下の手順で生成しています。 まず、１００個の配列変数を全て0にする。 Math.floor(Math.random()*100)で「0」から「99」の範囲での乱数を生成し 配列変数の添え字が上記の乱数に当たるものを+1します 例えば乱数の結果が0なら、１つめの配列変数が。34なら35番目の配列変数が増加しま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittle-strange.hatenablog.com%2Fentry%2F2021%2F05%2F18%2F221623&quot; title=&quot;【JavaScript】乱数のテスト【実験】 - Little Strange Software&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/l/little_strange/20210518/20210518221253.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-18 22:16:23</published>
  <title>【JavaScript】乱数のテスト【実験】</title>
  <type>rich</type>
  <url>https://little-strange.hatenablog.com/entry/2021/05/18/221623</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
