function lastIndexOf(array, value, fromIndex) {
    if (!array) {
      return -1;
    }
    var index = array.length;
    if (fromIndex && typeof fromIndex == 'number') {
      index = (fromIndex < 0 ? nativeMax(0, index + fromIndex) : nativeMin(fromIndex, index - 1)) + 1;
    }
    while (index--) {
      if (array[index] === value) {
        return index;
      }
    }
    return -1;
  }
Gets the index at which the last occurrence of `value` is found using
strict equality for comparisons, i.e. `===`.

@static
@memberOf _
@category Arrays
@param {Array} array The array to search.
@param {Mixed} value The value to search for.
@param {Number} [fromIndex=array.length-1] The index to start searching from.
@returns {Number} Returns the index of the matched value or `-1`.
@example

_.lastIndexOf([1, 2, 3, 1, 2, 3], 2);
// => 4

_.lastIndexOf([1, 2, 3, 1, 2, 3], 2, 3);
// => 1