摘要: Js 数组为我们提供了很多的数据查找与遍历的方法 例如:find,findIndex, 但是没有一个倒序查找的方法,我们可以模拟实现一个 findLast 和 findLastIndex的方法 const findLast = function(array, cb){ if(!Array.isArr 阅读全文