Pregunta de entrevista de Appradius

Filter an array of objects based on some given id