Znajdź liczby parzyste w tablicy JavaScript
arr.filter(num => num % 2)
Poor Peacock
arr.filter(num => num % 2)
const evenNumbers = (array, number) => array.filter(item => item % 2 === 0).slice(-number);