const array1 = [5, 12, 8, 130, 44];
const found = array1.find(element => element > 10);
console.log(found);
const array1 = [5, 12, 8, 130, 44];
const isLargeNumber = (element) => element > 13;
console.log(array1.findIndex(isLargeNumber));
const array = [1, 2, 3, 4, 5];
const even = (element) => element > 2;
console.log(array.some(even));