* A specialized version of `_.lastIndexOf` which performs strict equality * comparisons of values, i.e. `===`. * * @private * @param {Array} array The array to inspect. * @param {*} value The value to search for. * @param {number} fromIndex The index to search from. * @returns {
(array, value, fromIndex)
| 1319 | * @returns {number} Returns the index of the matched value, else `-1`. |
| 1320 | */ |
| 1321 | function strictLastIndexOf(array, value, fromIndex) { |
| 1322 | var index = fromIndex + 1; |
| 1323 | while (index--) { |
| 1324 | if (array[index] === value) { |
| 1325 | return index; |
| 1326 | } |
| 1327 | } |
| 1328 | return index; |
| 1329 | } |
| 1330 | |
| 1331 | /** |
| 1332 | * Gets the number of symbols in `string`. |