Return to Snippet

Revision: 22565
at January 15, 2010 14:12 by aindrei


Initial Code
var str = "";
for (prop in obj)
{
  str += prop + " value :" + obj[prop] + "\n";
}
alert(str);

Initial URL

                                

Initial Description

                                

Initial Title
JavaScript : Alert all the properties of an object

Initial Tags
javascript, object, debug

Initial Language
JavaScript