The find() method of an array returns the first element that satisfies the provided test function. If no values are true in the function, it returns undefined.
const numbers = [15, 7, 19, 50, 44, 3];
const find = numbers.find(no => no > 20);
console.log(find);
// 50