<!DOCTYPE html>
<html>
<body>
<h1>Object Attributes for Looping</h1>
<script>
var employee = {
name: "Harry",
age: 26,
gender: "Male",
};
for(var i in employee) {
document.write(employee[i] + "<br>");
}
</script>
</body>
</html>