0

I am very new to javascript. When I do a typeof variable name, I get object{}. I need to look at the contents of this object. How would I do that in javascript?

user1471980
  • 10,127
  • 48
  • 136
  • 235

1 Answers1

0

You can use developer's console (Chrome console / Firebug / etc) or just convert your object to string:

var objAsString = JSON.stringify(yourVariable);
hsz
  • 148,279
  • 62
  • 259
  • 315