mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Tweak _.reduce documentation.
Former-commit-id: 58d8a724dbf53594420e355c3d29ae28b53a7886
This commit is contained in:
@@ -2443,9 +2443,9 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Boils down a `collection` to a single value. The initial state of the
|
||||
* reduction is `accumulator` and each successive step of it should be returned
|
||||
* by the `callback`. The `callback` is bound to `thisArg` and invoked with 4
|
||||
* Reduces a `collection` to a single value. The initial state of the reduction
|
||||
* is `accumulator` and each successive step of it should be returned by the
|
||||
* `callback`. The `callback` is bound to `thisArg` and invoked with four
|
||||
* arguments; for arrays they are (accumulator, value, index|key, collection).
|
||||
*
|
||||
* @static
|
||||
|
||||
Reference in New Issue
Block a user