Adding function to Object prototype causes function to show up in all 'for X in OBJ' loops
<p>So, here's some sample javascript code:</p>

<pre><code>Object.prototype.simpleFunction = function () {
    return true;
}
var tempObject = {};
for (var temp in tempObject) {
    console.log(temp);
}
</code></pre>

<p>Note that if you execute this, you'll get 'simpleFunction' output from the <code>console.log</code> commands in Google Chrome. (I'm using 19.0.1084.46m .)</p>

<p>However, the wide variety of related Object functions are <em>not</em> passed to the <code>console.log</code>.  </p>

<p>How can I add functions onto the <code>Object</code> prototype without them showing up in my '<code>for property in</code> object' loops?</p>

<p><strong>Edit</strong>: I should have mentioned that the last thing I wanted was to throw another 'if' statement in there, as it'd mean I'd need to add it to ALL <code>for</code> loops.  :(</p>
