CM
Robert Stires < In recent versions of lodash, you have to call `.value()` at the end to exit the "wrapper function". _ (nodes) .flatMap( node => node.followers) . map ( follower => follower.email) .compact() .uni q() .value()
ReplyArticleMar 15, 20171JavaScript Patterns โ Wrangling arrays like a boss, with Array#reduce ๐