The type of elements in the array / 数组元素的类型
The array to search in / 要搜索的数组
A function to test each element. Return true to indicate a matching element has been found. / 用于测试每个元素的函数。返回 true 表示已找到匹配元素。
A function to execute on the found element. / 找到匹配元素后要执行的函数。
The index at which to start the search. Defaults to the last index of the array. / 开始搜索的索引。默认值为 array.length - 1。
Whether any element satisfies the testing function. / 是否有任何元素满足测试函数。
Find the last element in the array that satisfies the provided testing function and execute the given callback function.
查找数组中最后一个满足提供的测试函数的元素,并执行给定的回调函数。