Intent to ship: Array.{findLast,findLastIndex}

Skip to first unread message

Daniel Minor

Jun 22, 2022, 1:13:19 PM6/22/22
to dev-platform
This adds findLast and findLastIndex methods to Array. The use case is to efficiently search from the end of an array. This is currently a stage 4 proposal at tc39. We plan to ship this feature in Nightly 104:

Platform Coverage: all
Preference: javascript.options.experimental.array_find_last

Other Browsers: Chrome shipped in 97, Safari in 15.4

Reply all
Reply to author
0 new messages