Intent to ship: Array.{findLast,findLastIndex}

24 views
Skip to first unread message

Daniel Minor

unread,
Jun 22, 2022, 1:13:19 PMJun 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
Forward
0 new messages