top_obj = { nest_obj1: { prop: 'value' }, nest_obj2: { prop: 'another value' } } for(key in top_obj){ console.log(key.prop); // undefined } console.log(top_obj.nest_obj1.prop); // а так - всё нормально How do I get to the attached property in a loop?