I am building an object/property dump using JavaScript. This code breaks under Internet Explorer 8 (assuming subject = window.external)
// 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
*/
If you try printing subject to the console (or alert) it comes up blank. However, other objects will print [object SomethingMeaningful].
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?