I\'m using an object as a hash table. I\'d like to quickly print out its contents (for alert() for instance). Is there anything built in to convert a hash into
alert()
Use the for loop:
for (var x in yourObj) { alert(yourObj[x]); }