Pregunta de entrevista de project44

Filter an array of objects, consider all edge cases.