{"type":"rich","provider_url":"https://hatena.blog","author_name":"teramako","author_url":"https://blog.hatena.ne.jp/teramako/","description":"ES6\u306b\u306a\u308b\u3068\u3001String.prototype.repeat\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u8ffd\u52a0\u3055\u308c\u308b\u308f\u3051\u3060\u304c\u3001\u305d\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u8ffd\u3063\u3066\u307f\u3066\u3044\u308b\u3002ES6 String.prototype.repeat \u306e\u4ed5\u69d8\u3067\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u611f\u3058\u3067\u30b7\u30f3\u30d7\u30eb\u306a\u66f8\u304d\u65b9\u3092\u3057\u3066\u3044\u308b\u3002 count\u304c 0 \u3088\u308a\u5c0f\u3055\u3044\u3001\u307e\u305f\u306f \u7121\u9650\u5927\u3067\u3042\u308b\u5834\u5408\u306f RangeError count 0 \u306a\u3089\u3070\u3001\u7a7a\u6587\u5b57\u5217 \u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001count\u56de\u3001\u6587\u5b57\u5217\u3092\u7e70\u308a\u8fd4\u3057\u3066\u9023\u7d50\u3059\u308b \u5358\u7d14\u306b\u5b9f\u88c5\u3059\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u611f\u3058\u3067\u6e08\u3080\u3002 String.prototype.repeat = function (count) { if (count < 0 || !N\u2026","blog_title":"hogehoge @teramako","provider_name":"Hatena Blog","width":"100%","title":"String repeat \u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9","published":"2014-04-03 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteramako.hatenadiary.org%2Fentry%2F20140403%2Fp1\" title=\"String repeat \u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9 - hogehoge @teramako\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://teramako.hatenadiary.org/","version":"1.0","image_url":null,"categories":["JavaScript"],"url":"https://teramako.hatenadiary.org/entry/20140403/p1"}