в JavaScript для отображения результата цикла в элементе html div
```<div id="empid"></div>```
var emp =[{"firstname":"srikanth", "lastname":"gubbal", "age":"36", "place":"pune", "qualification":"mtech"},{"firstname":"praveen", "lastname":"konda", "age":"42", "place":"hyderabad","qualification":"btech"},
{"firstname":"santosh", "lastname":"vemula", "age":"30", "place":"mumbai", "qualification":"mtech"}, {"firstname":"venkat", "lastname":"katkam", "age":"33", "place":"nagpur", "qualification":"mtech"}
]
for(let i=0; i<emp.length; i++){console.log(emp[i]);
for(r in emp[i]){console.log(emp[i][r]);}
}
</script>```
console.log(emp[i][r]); -- this result show in html div element