JavaScript find method

const arr = [1, 5, 7, 12, 22, 25];

let val = arr.find(el => el > 10);

console.log(val);

//Result 12