summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/lastIndexOf.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/lastIndexOf.js')
-rw-r--r--tools/eslint/node_modules/lodash/lastIndexOf.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/eslint/node_modules/lodash/lastIndexOf.js b/tools/eslint/node_modules/lodash/lastIndexOf.js
index 1b8fbbc0ee..f86516d517 100644
--- a/tools/eslint/node_modules/lodash/lastIndexOf.js
+++ b/tools/eslint/node_modules/lodash/lastIndexOf.js
@@ -1,4 +1,5 @@
-var indexOfNaN = require('./_indexOfNaN'),
+var baseFindIndex = require('./_baseFindIndex'),
+ baseIsNaN = require('./_baseIsNaN'),
toInteger = require('./toInteger');
/* Built-in method references for those with the same name as other `lodash` methods. */
@@ -41,7 +42,7 @@ function lastIndexOf(array, value, fromIndex) {
) + 1;
}
if (value !== value) {
- return indexOfNaN(array, index - 1, true);
+ return baseFindIndex(array, baseIsNaN, index - 1, true);
}
while (index--) {
if (array[index] === value) {