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,383
  • 47
  • 132
  • 225

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
  • 143,040
  • 58
  • 252
  • 308