mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Bump to v4.13.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import indexOfNaN from './_indexOfNaN';
|
||||
import toInteger from './toInteger';
|
||||
import indexOfNaN from './_indexOfNaN.js';
|
||||
import toInteger from './toInteger.js';
|
||||
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
var nativeMax = Math.max,
|
||||
@@ -41,7 +41,7 @@ function lastIndexOf(array, value, fromIndex) {
|
||||
) + 1;
|
||||
}
|
||||
if (value !== value) {
|
||||
return indexOfNaN(array, index, true);
|
||||
return indexOfNaN(array, index - 1, true);
|
||||
}
|
||||
while (index--) {
|
||||
if (array[index] === value) {
|
||||
|
||||
Reference in New Issue
Block a user