summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/internal/baseEachRight.js
blob: f0520a8b4f0ed921efd1d7eaefcead7cc607c188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var baseForOwnRight = require('./baseForOwnRight'),
    createBaseEach = require('./createBaseEach');

/**
 * The base implementation of `_.forEachRight` without support for callback
 * shorthands and `this` binding.
 *
 * @private
 * @param {Array|Object|string} collection The collection to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array|Object|string} Returns `collection`.
 */
var baseEachRight = createBaseEach(baseForOwnRight, true);

module.exports = baseEachRight;