I'm trying to use Object.getOwnPropertyNames(obj) but it seems that I'm getting inconsistent results. Yesterday all property names within the object were being returned, today it seems only enumerable property names are being returned. I changed nothing from yesterday afternoon to this morning. If you visit this jsfiddle and open the console (in Google Chrome) you can see that the object contains a second nested object called "responseJSON", which is what I'm trying to access. In IE it's not showing the nested object I'm after, interestingly, when logging the main object - only showing enumerable property names.
Yesterday this returned ALL the property names to the Chrome console, as it should:
Today it does not. I don't know how that's possible...yesterday I was able to access the portion of my desired data with:
but no longer today. I get back that "responseJSON" is undefined.
Would appreciate hearing from anyone who has experience working with nested objects/arrays.