* Iterates over elements of `collection` and invokes `iteratee` for each element. * The iteratee is invoked with three arguments: (value, index|key, collection). * Iteratee functions may exit iteration early by explicitly returning `false`. * * **Note:** As with other "Collection
(collection, iteratee)
| 17060 | * // => Logs 'a' then 'b' (iteration order is not guaranteed). |
| 17061 | */ |
| 17062 | function forEach(collection, iteratee) { |
| 17063 | var func = isArray(collection) ? arrayEach : baseEach; |
| 17064 | return func(collection, getIteratee(iteratee, 3)); |
| 17065 | } |
| 17066 | |
| 17067 | /** |
| 17068 | * This method is like `_.forEach` except that it iterates over elements of |
nothing calls this directly
no test coverage detected