1 2 function var_dump(obj) { 3 if(typeof obj == "object") { 4 return "Type: "+typeof(obj)+((obj.constructor) ? "\nConstructor: "+obj.constructor : "")+"\nValue: " + obj; 5 } else { 6 return "Type: "+typeof(obj)+"\nValue: "+obj; 7 } 8 }//end function var_dump
You need to create an account or log in to post comments to this site.