<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>beatdjam</author_name>
  <author_url>https://blog.hatena.ne.jp/beatdjam/</author_url>
  <blog_title>B-Teck!</blog_title>
  <blog_url>https://blog.beatdjam.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>/** * randAry * 配列内からランダムに値を取得する * @param {array} i_ary 配列 * @return {object} 配列内の値 */ function randAry(i_ary){ //添字を全て取得 var aryKeys = Object.keys(i_ary); //対象の添字をランダムに取得 var index = aryKeys[Math.floor(Math.random() * aryKeys.length)]; return i_ary[index]; } /** * randAry2 * 配列内からランダムに値を取得する * 取得した…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2016%2F02%2F25%2F013702&quot; title=&quot;【JavaScript】配列からランダムに値を取り出す - B-Teck!&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-25 01:37:02</published>
  <title>【JavaScript】配列からランダムに値を取り出す</title>
  <type>rich</type>
  <url>https://blog.beatdjam.com/entry/2016/02/25/013702</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
