Sollicitatievraag bij Miva

How would you sort out even numbers from an array using javascript?