News for hackers. Stuff that matters.
Re:You Might Not Need Underscore by GreLI on Saturday July 04, 2015 @03:12PM (#9831266)
What about _.flatten()? E.g. to flatten an array before find()?

Just thought of 1-level flattening [].concat(...array). But it not that explicit. Also, array.find(i => i.foo == 'bar') isn't as readable as _.find(array, { foo: 'bar' }).

There are no comments on this comment yet.