mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -12,7 +12,7 @@ var baseIteratee = require('./_baseIteratee'),
|
||||
* @category Array
|
||||
* @param {Array} array The sorted array to inspect.
|
||||
* @param {*} value The value to evaluate.
|
||||
* @param {Array|Function|Object|string} [iteratee=_.identity]
|
||||
* @param {Function} [iteratee=_.identity]
|
||||
* The iteratee invoked per element.
|
||||
* @returns {number} Returns the index at which `value` should be inserted
|
||||
* into `array`.
|
||||
@@ -28,7 +28,7 @@ var baseIteratee = require('./_baseIteratee'),
|
||||
* // => 0
|
||||
*/
|
||||
function sortedIndexBy(array, value, iteratee) {
|
||||
return baseSortedIndexBy(array, value, baseIteratee(iteratee));
|
||||
return baseSortedIndexBy(array, value, baseIteratee(iteratee, 2));
|
||||
}
|
||||
|
||||
module.exports = sortedIndexBy;
|
||||
|
||||
Reference in New Issue
Block a user