Skip to content

Instantly share code, notes, and snippets.

@MarkAdell
MarkAdell / gist:05afa2f6f873694c21eff85f49a9552d
Created July 20, 2023 22:17
Functional programming article exercise solution
function findLast(array, predicate) {
for (let i = array.length - 1; i >= 0; i--) {
if (predicate(array[i])) {
return array[i];
}
}
return undefined;
}
@MarkAdell
MarkAdell / cloudSettings
Last active May 21, 2023 03:09
Visual Studio Code Settings Sync Gist
{"lastUpload":"2022-04-05T21:21:46.659Z","extensionVersion":"v3.4.3"}