reindexio / youmightnotneedunderscore

https://www.reindex.io/blog/you-might-not-need-underscore/
MIT License
226 stars 18 forks source link

Added ES2015/16 alternative to _.object #17

Closed Zacqary closed 8 years ago

Zacqary commented 8 years ago

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.

fson commented 8 years ago

Thanks!