each
_.each(list, iteratee, [context])
1 | _.each({one: 1, two: 2, three: 3}, (value, key, list) => {console.log(value, key, list)}); |
find
groupBy
1 | _.groupBy([1.3, 2.1, 2.4], function(num){ return Math.floor(num); }); |
_.each(list, iteratee, [context])
1 | _.each({one: 1, two: 2, three: 3}, (value, key, list) => {console.log(value, key, list)}); |
1 | _.groupBy([1.3, 2.1, 2.4], function(num){ return Math.floor(num); }); |