Closed dan1elhughes closed 3 months ago
FindLastIndex wasn't finding the index if the matching element was in position zero due to an i > 0 iteration condition that should be i >= 0.
i > 0
i >= 0
Added a test case that fails without this fix.
FindLastIndex wasn't finding the index if the matching element was in position zero due to an
i > 0
iteration condition that should bei >= 0
.Added a test case that fails without this fix.