{"author_url":"https://blog.hatena.ne.jp/beatdjam/","height":"190","author_name":"beatdjam","provider_name":"Hatena Blog","blog_url":"https://blog.beatdjam.com/","width":"100%","type":"rich","version":"1.0","image_url":null,"description":"\u306a\u305c\u51fa\u308b\u306e\u304b for-in\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u201d\u5168\u3066\"\u5217\u6319\u3059\u308b for (variable in object) { ... } \u305d\u306e\u70ba\u3001\u5bfe\u8c61\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3060\u3051\u3067\u306f\u306a\u304f\u3001prototype\u304b\u3089\u7d99\u627f\u3057\u305f(prototype\u6c5a\u67d3\u3055\u308c\u305f)\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u5217\u6319\u3055\u308c\u308b function A() {} A.prototype.say = '\u30d5\u30a1\u30df\u30c1\u30ad\u304f\u3060\u3055\u3044'; var b = new A(); b.think = '(\u30d5\u30a1\u30df\u30c1\u30ad\u304f\u3060\u3055\u3044)'; for (prop in b) { console.log(\"\u30d7\u30ed\u30d1\u30c6\u30a3\u540d1:\" + prop + \"\\n\"); console.l\u2026","url":"https://blog.beatdjam.com/entry/2015/10/08/214238","title":"\u3010JavaScript\u3011JSLint\u3067\"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.\"\u304c\u51fa\u305f\u6642\u306e\u5bfe\u51e6","published":"2015-10-08 21:42:38","blog_title":"B-Teck!","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2015%2F10%2F08%2F214238\" title=\"\u3010JavaScript\u3011JSLint\u3067&quot;The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.&quot;\u304c\u51fa\u305f\u6642\u306e\u5bfe\u51e6 - 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>","categories":["JavaScript"],"provider_url":"https://hatena.blog"}