Skip to content

Add Array `findIndex` support

kushalpandya requested to merge 33315-es6-findindex-support into master

What does this MR do?

Adds support polyfill for Array.prototype.findIndex in ES6.

Why was this MR needed?

We have several places in code where we end up using forEach on array to find index of particular object, while ideal method to do so is findIndex.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #33315 (closed)

Edited by kushalpandya

Merge request reports