Skip to content

Commit

Permalink
fix: typo in live example of array-findlastindex.js (#2255)
Browse files Browse the repository at this point in the history
fix: typo
  • Loading branch information
iSatVeerSingh committed Aug 22, 2022
1 parent ca3a22d commit 0b72146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live-examples/js-examples/array/array-findlastindex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ const array1 = [5, 12, 50, 130, 44];
const isLargeNumber = (element) => element > 45;

console.log(array1.findLastIndex(isLargeNumber));
// expected output: 3 (of element with value: 30)
// expected output: 3 (of element with value: 130)

0 comments on commit 0b72146

Please sign in to comment.