Create an Account
username: password:
 
  MemeStreams Logo

List all properties of a JS obejct

search

Jello
Picture of Jello
Online Now
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Jello's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
List all properties of a JS obejct
Topic: Technology 3:27 pm EST, Dec 12, 2007

function show_props(obj, obj_name) { var result = "" for (var i in obj) result = obj_name "." i " = " obj[i] "\n" return result; }

Super convenient when peeps don't document their objects.

List all properties of a JS obejct



 
 
Powered By Industrial Memetics
RSS2.0