객체란?
1. 객체(object)의 형식 Object VS Array //array var members = ['ms', 'mc', 'jh','cw']; console.log(members[1]); //mc //object var roles = { 'programmer':'ms', 'designer' : 'jh', 'doctor' : 'cw', 'soldier' : 'mc' } console.log(roles.doctor); //cw 2. 객체의 반복 var members = ['ms', 'mc', 'jh','cw']; console.log(members[1]); var i = 0; while( i < members.length){ console.log('array loop', members[i]); i = i ..