{
document.write("*** 16. 객체 : 데이터 불러오기 : map() ***");
const obj = [
{a:100, b:200, c:"javascript1"},
{a:300, b:400, c:"javascript2"},
{a:500, b:600, c:"javascript3"},
];
document.write(obj[0].a);
document.write(obj[0].b);
document.write(obj[0].c);
document.write(obj[1].a);
document.write(obj[1].b);
document.write(obj[1].c);
document.write(obj[2].a);
document.write(obj[2].b);
document.write(obj[2].c);
//obj.map(function(el){});
//obj.map((el)=>{});
//obj.map(el=>{});
obj.map(el=>{
document.write(el.a);
document.write(el.b);
document.write(el.c);
})
}