Posted By

iancrowther on 11/17/10


Tagged

javascript object Reflection


Versions (?)

Object Reflections


 / Published in: JavaScript
 

this is my way of working out the contents of an object when I don't have access to a debugger like firebug

  1. for (key in object) {
  2. alert ("object["+key +"] = "+object[key]);
  3. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Empreintes on November 17, 2010

try : http://getfirebug.com/firebuglite

You need to login to post a comment.