Pregunta de entrevista de Miva

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