Web Hosting Forum | Lunarpages

Author Topic: seeing the contents of a javascript object, how do i do it  (Read 2019 times)

Offline ziange

  • Spacescooter Operator
  • *****
  • Posts: 39
seeing the contents of a javascript object, how do i do it
« on: November 11, 2011, 12:15:57 AM »
I come from php, where I use var_dump to see the contents of a object.

In javascript there is no var_dump, so how do you guys see the contents of your objects?

I would like an easy way to see js objects, maybe firebug does it and a function to dump the contents of an object.

Thanks in advance,

Offline scanman20

  • Senior Moderator
  • Über Jedi
  • *****
  • Posts: 1549
    • http://www.notonebit.com
Re: seeing the contents of a javascript object, how do i do it
« Reply #1 on: November 11, 2011, 09:40:12 PM »
Firebug
Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP (<- unused since 2006!)

 

Share |