TryHarder
TryHarder

Reputation: 2777

Is there a way to see the information contained within [object][object] using firebug?

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

Answers (2)

Trax72
Trax72

Reputation: 958

You could try logging it with console.log(JSON.stringify(myObject)).

Upvotes: -1

Naftali
Naftali

Reputation: 146302

Click on it and you will see what it contains (as long it is not a string).

click it

Fiddle: http://jsfiddle.net/maniator/YEaW3/

Upvotes: 3

Related Questions