Dump methods and attributes of object

Posted by user246114 on Stack Overflow See other posts from Stack Overflow or by user246114
Published on 2010-06-11T22:20:37Z Indexed on 2010/06/11 22:32 UTC
Read the original article Hit count: 162

Filed under:

Hi,

I am using a third party library that provide some callbacks for a widget, but I'm not sure what the callback parameter objects are (no docs on them).

Is there a way to just dump all the attributes of an object in javascript, then print them using alert(), maybe? I just want to see what methods and attributes they contain,

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript