Pergunta de entrevista da empresa Howard Hughes Medical Institute

Why is it not a good idea to loop through all the properties in a javascript object?