function: a function will be executed once for each element in the array until it returns the boolean true or reaches the end of the array. If you pass an object instead of a function, then a TypeError exception will be raised.
thisValue (optional): an object that can be referenced by the "this" keyword inside the callback function. If thisValue parameter is not passed, "this" will be "undefined"
let arr = [3, 6, 8, 20, 34];
let result = arr.find(element => element > 10);
// output: 20