Write a function called myLastIndexOf that takes an array and a search value, then returns the last index of the value in the array that matches the search value. code example
Example: last index of array js
array.lastIndexOf(searchElement[, fromIndex]);