I would like to automatically determine all of the properties (including the hidden ones) in a given Javascript object, via a generalization of this function:
This is explained in a previous answer. Basically, the spec explicitly requires (using DontEnum) that these objects aren't enumerable.
DontEnum