Tell us what’s happening:
Can someone help me find a resource that explains the "=== 0’ at the end of the arrow function?
I understand it makes the function return a true or false but I can’t seem to find what thats called
**Your code so far**
function findElement(arr, func) {
let num = arr.find(func);
return num;
}
//findElement([1, 2, 3, 4], num => num % 2 === 0);
let func = (num) => num % 2;
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Basic Algorithm Scripting - Finders Keepers
Link to the challenge: