Pregunta de entrevista de buynomics

node js question. just removing empty or bad keys from an object.