// Convert Array to Object $.extend({}, ['a', 'b', 'c']); // http://stackoverflow.com/questions/4215737/convert-array-to-object