1.
Array.prototype.findLast()
const nums = [1, 2, 3, 4, 5];
const cb = (el) => el % 2 === 0;
console.log(nums.findLast(cb)); // 41.
Array.prototype.findLast()
const nums = [1, 2, 3, 4, 5];
const cb = (el) => el % 2 === 0;
console.log(nums.findLast(cb)); // 4