{"url":"https://edgegram.hatenablog.jp/entry/2016/03/02/170731","categories":["JavaScript","Underscore.js"],"blog_title":"edgegram","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedgegram.hatenablog.jp%2Fentry%2F2016%2F03%2F02%2F170731\" title=\"Underscore.js\u304a\u3055\u3089\u30442(Collections) - edgegram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://edgegram.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/edgegram/","version":"1.0","description":"\u203b\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u306f\u672c\u5bb6\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304b\u3089\u62dd\u501f\u3002\u5206\u304b\u308a\u8f9b\u3044\u3082\u306e\u3060\u3051\u52a0\u7b46\u30fb\u4fee\u6b63\u3002 each _.each(list, iteratee, [context]) \u3044\u308f\u3086\u308bforEach\u3002 \u914d\u5217\u306e\u5834\u5408\u306fiteratee\u306e\u5f15\u6570\u306b(element, index, list)\u304c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u306f(value, key, list)\u304c\u4f7f\u3048\u308b\u3002 _.each([1, 2, 3], function(element){ alert(element); }); => alert(1)\u3001alert(2)\u3001alert(3) _.each({one: 1, two: 2, three: 3}, function(ele\u2026","height":"190","published":"2016-03-02 17:07:31","title":"Underscore.js\u304a\u3055\u3089\u30442(Collections)","author_name":"edgegram","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich"}