Reputation: 2777
I'm using console.log(variable) and firebug to examine javascript code. Occasionally, I get [object][object] as the value. Is there anyway of getting more information than just [object][object]?
EDIT: [object Object] is not clickable
EDIT2: I was able to log the information using console.log("My EPIC Object", epicObject);
Upvotes: 1
Views: 130
Reputation: 958
You could try logging it with console.log(JSON.stringify(myObject)).
Upvotes: -1
Reputation: 146302
Click on it and you will see what it contains (as long it is not a string).
Fiddle: http://jsfiddle.net/maniator/YEaW3/
Upvotes: 3