setup-maven-cached/node_modules/underscore/cjs/lastIndexOf.js

9 lines
322 B
JavaScript
Raw Permalink Normal View History

2022-06-28 16:39:30 +08:00
var findLastIndex = require('./findLastIndex.js');
var _createIndexFinder = require('./_createIndexFinder.js');
// Return the position of the last occurrence of an item in an array,
// or -1 if the item is not included in the array.
var lastIndexOf = _createIndexFinder(-1, findLastIndex);
module.exports = lastIndexOf;