When debugging JavaScript in Visual Studio 2008 and I use the ? command in the command window to list a JavaScript object’s members I always get that ellipses {…}. Example:
>? Page_Validators {...} [0]: {object} [1]: {object} [2]: {object} [3]: {object} [4]: {object} [5]: {object} length: 6
I’m assuming these are the object’s member functions. Is there a way to list the members in that {…} ? A one-liner command would be ideal.
Thanks.
I just tried this and it works, with one caveat:
That will show you all of the methods that are part of the object, but none of the built-in inherited methods (like
toString()orvalueOf()).Hope that helps.