Just rewrote a bunch of old calls to _.object in my codebase, so I thought I'd share this.
I don't think any of these calls were specifically in the format of _.object(objectLikeArray). They were more like _(array.map(functionToTurnIntoObject)).object(). But this is still useful.
Just rewrote a bunch of old calls to
_.object
in my codebase, so I thought I'd share this.I don't think any of these calls were specifically in the format of
_.object(objectLikeArray)
. They were more like_(array.map(functionToTurnIntoObject)).object()
. But this is still useful.