IE error when trying for( var i in window.external )
<p>I am building an object/property dump using JavaScript. This code breaks under Internet Explorer 8 (assuming subject = window.external)</p>

<pre><code>// Gather the property names into the keys array.
var keys = Array(); for( var i in subject ){ keys.push(i); }

/* After this I sort the keys, then loop through to get the 
   property values in subject
*/
</code></pre>

<p>If you try printing subject to the console (or alert) it comes up blank. However, other objects will print [object SomethingMeaningful].</p>

<p>Microsoft's documentation suggests that the object definitely has properties. It would be nice to be able to show them instead of just skipping over them. Any Ideas?</p>
