The accepted answer below explains why checkit(x) doesn't work.
I'm a little confused by the following notation:
const array1 = [5, 12, 8, 130, 44];
function checkit(x){
return x == 8;}
const found = array1.find(element => element > 10);
const found1 = array1.find(function(x){return (x < 10);});
const found2 = array1.find(checkit);
console.log(found,found1,found2);
found and found1 make perfect sense to me. Why in found2 do we not have to name the variable being tested? i.e. Why not:
found2 = array1.find(checkit(x));
Could someone provide a reference?