SyntaxFix
Write A Post
Hire A Developer
Questions
I believe you can loop through the properties of the object using for/in, so you could do something like this:
function getKeys(h) { Array keys = new Array(); for (var key in h) keys.push(key); return keys; }