{"author_url":"https://blog.hatena.ne.jp/beatdjam/","categories":["JavaScript"],"blog_title":"B-Teck!","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2016%2F02%2F25%2F013702\" title=\"\u3010JavaScript\u3011\u914d\u5217\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u5024\u3092\u53d6\u308a\u51fa\u3059 - B-Teck!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_url":"https://blog.beatdjam.com/","height":"190","provider_url":"https://hatena.blog","type":"rich","description":"/** * randAry * \u914d\u5217\u5185\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u5024\u3092\u53d6\u5f97\u3059\u308b * @param {array} i_ary \u914d\u5217 * @return {object} \u914d\u5217\u5185\u306e\u5024 */ function randAry(i_ary){ //\u6dfb\u5b57\u3092\u5168\u3066\u53d6\u5f97 var aryKeys = Object.keys(i_ary); //\u5bfe\u8c61\u306e\u6dfb\u5b57\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u53d6\u5f97 var index = aryKeys[Math.floor(Math.random() * aryKeys.length)]; return i_ary[index]; } /** * randAry2 * \u914d\u5217\u5185\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u5024\u3092\u53d6\u5f97\u3059\u308b * \u53d6\u5f97\u3057\u305f\u2026","width":"100%","version":"1.0","author_name":"beatdjam","provider_name":"Hatena Blog","published":"2016-02-25 01:37:02","title":"\u3010JavaScript\u3011\u914d\u5217\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u5024\u3092\u53d6\u308a\u51fa\u3059","url":"https://blog.beatdjam.com/entry/2016/02/25/013702"}