{"title":"javascript \u540c\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u306b\u533f\u540d\u95a2\u6570\u3092\u4f7f\u3063\u3066\u77ed\u304f\u66f8\u304d\u305f\u3044","categories":[],"provider_name":"Hatena Blog","published":"2016-02-08 13:25:52","author_name":"IT7C","type":"rich","height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fit7c.hatenadiary.org%2Fentry%2F20160208%2F1454905552\" title=\"javascript \u540c\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u306b\u533f\u540d\u95a2\u6570\u3092\u4f7f\u3063\u3066\u77ed\u304f\u66f8\u304d\u305f\u3044 - \u30a4\u30ce\u30d9\u30fc\u30c8\u306a\u975e\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","url":"https://it7c.hatenadiary.org/entry/20160208/1454905552","author_url":"https://blog.hatena.ne.jp/IT7C/","image_url":null,"blog_url":"https://it7c.hatenadiary.org/","description":"var a = { id : 1, name : 'test1' }; var b = { id : 2, name : 'test2' }; var compare = (x,y,i) => x + y*(-i||1); [a,b].map( x => x.id ).reduce( compare,0 ); [a,b].map( x => x.name.startsWith('test') ).reduce( compare,0 ); [a,b].map( x => x.name.endsWith('2') ).reduce( compare,0 ); [a,b].map( x => x.n\u2026","blog_title":"\u30a4\u30ce\u30d9\u30fc\u30c8\u306a\u975e\u65e5\u5e38","version":"1.0"}