<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>beatdjam</author_name>
  <author_url>https://blog.hatena.ne.jp/beatdjam/</author_url>
  <blog_title>B-Teck!</blog_title>
  <blog_url>https://blog.beatdjam.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>なぜ出るのか for-inステートメントはオブジェクトのプロパティを”全て&quot;列挙する for (variable in object) { ... } その為、対象のオブジェクトのプロパティだけではなく、prototypeから継承した(prototype汚染された)プロパティも列挙される function A() {} A.prototype.say = 'ファミチキください'; var b = new A(); b.think = '(ファミチキください)'; for (prop in b) { console.log(&quot;プロパティ名1:&quot; + prop + &quot;\n&quot;); console.l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2015%2F10%2F08%2F214238&quot; title=&quot;【JavaScript】JSLintで&amp;quot;The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.&amp;quot;が出た時の対処 - B-Teck!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-08 21:42:38</published>
  <title>【JavaScript】JSLintで&quot;The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.&quot;が出た時の対処</title>
  <type>rich</type>
  <url>https://blog.beatdjam.com/entry/2015/10/08/214238</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
