Should $.map() also work for objects?

Should $.map() also work for objects?

I'm not sure if it's necessary, but I feel It'd be nice that we can
pass an object to $.map(), so that jquery will iterate over it's
properties and modifies values by calling the callback function:
var obj = { a: function() { alert(1) }, b: function() { alert(2) } };
$.map( obj, function( value, key ) {
return function() {
// Call old function
value();
// Do something else;
};
})
If the idea is redundant because of my lack of knowledge, please let
me know how to do it natively, thanks. ( If you are going to suggest "
for( in ) ", I think it doesn't have the benefit of scoping )
--