DEV Community

Discussion on: Introducing `findLast` and `findLastIndex`

Collapse
sanidz profile image
sanidz

totaly unnecessary,

arr.reverse().find does the trick...

Collapse
laurieontech profile image
Laurie Author

It also mutates the array