TLDR Web Dev · QUICK LINKS

STOP USING .REVERSE().FIND(): MEET FINDLAST()

allthingssmitty.com4 min read

Summary from the TLDR Web Dev newsletter

`Array.prototype.findLast()` and `Array.prototype.findLastIndex()` are cleaner, more performant alternatives to reversing arrays for searching from the end.