<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JavaScript for in object assign (to left expr)</title>
</head>
<body>
<script type="text/javascript">
// Press F12 - View result on Console Panel
var arr= {'a': 'AAA','b': 'BBB','c' : 'CCC'};
for (var key in arr) {
document.writeln(key +" : "+ arr[key]);
}
</script>
</body>
</html>