I recently starting to drop underscore/lodash overuse on (some of) my projects and realize that there\'s no full support of find method in browsers. What\'s the difference b
Use a polyfill; users.filter(function() { ... } ).shift(); is throwing cycles away while triggering unnecessary garbage collection.
filter scans the entire array and creates another arrayshift now has to change all the indexes on the temp arrayA slightly less wasteful pattern would be to use users.filter(function() { ... } )[0]