Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Refactor find last methods #118

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport e7b810e from #114.

* refactor: replace findLast with find and reverse

Signed-off-by: Lin Wang <[email protected]>

* refactor: replace Array.prototype.findLastIndex with findLastIndex

Signed-off-by: Lin Wang <[email protected]>

* refactor findLastIndex with for loop

Signed-off-by: Lin Wang <[email protected]>

---------

Signed-off-by: Lin Wang <[email protected]>
(cherry picked from commit e7b810e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@wanglam wanglam merged commit eaa14a2 into 2.x Jan 29, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants