how to find even number in array in javascript code example Example: find even numbers in an array javascript arr.filter(num => num % 2)