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:
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1704385 Bug to ship: https://bugzilla.mozilla.org/show_bug.cgi?id=1775026 Specification: https://github.com/tc39/proposal-array-find-from-last <https://streams.spec.whatwg.org/#dom-underlyingsource-type> Platform Coverage: all Preference: javascript.options.experimental.array_find_last Other Browsers: Chrome shipped in 97, Safari in 15.4. Tests: Part of test262, https://github.com/tc39/test262/tree/main/test/built-ins/Array/prototype -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa6nJCuNe41KXb3aZeg4zzmpsXtkWfmcXQs7Z%3DnNma9%2Brw%40mail.gmail.com.
