SyntaxFix
Write A Post
Hire A Developer
Questions
You can use jQuery's $.map.
$.map
var foo = { 'alpha' : 'puffin', 'beta' : 'beagle' }, keys = $.map(foo, function(v, i){ return i; });