diff options
Diffstat (limited to 'lib/mapValuesLimit.js')
-rw-r--r-- | lib/mapValuesLimit.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mapValuesLimit.js b/lib/mapValuesLimit.js index f6e72ff..6c9fe06 100644 --- a/lib/mapValuesLimit.js +++ b/lib/mapValuesLimit.js @@ -20,8 +20,9 @@ import once from './internal/once'; * once it has completed with an error (which can be `null`) and a * transformed value. Invoked with (value, key, callback). * @param {Function} [callback] - A callback which is called when all `iteratee` - * functions have finished, or an error occurs. Result is an object of the - * transformed values from the `obj`. Invoked with (err, result). + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). */ export default function mapValuesLimit(obj, limit, iteratee, callback) { callback = once(callback || noop); |