the data can't be loop in ZIM.loop,but can loop in for(key in data) why?
iframeRoot
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>iframe root</title>
<script type="module">
var iframe = document.createElement('iframe');
iframe.style = `overflow:hidden;position: absolute;width:1000px;height:600px;border:medium none;top:50%;left:50%;transform:translate(-50%,-50%) ;z-index:1`
iframe.src = 'iframeChild_v0.html';
iframe.onload = function () {
var mapData={'key0':{arr:[1,2,3],text:'string0'},'key1':{arr:[4,5,6],text:'string1'},'key2':{arr:[7,8,9],text:'string2'}}
var winEvt=new CustomEvent(`sendToPage`, { detail:mapData })
window.dispatchEvent(winEvt)
};
document.body.appendChild(iframe);
</script>
<meta name="viewport" content="width=device-width, user-scalable=no" />
</head>
<body>
</body>
</html>
iframePage
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>iframe child</title>
<script type="module">
import zim from "https://zimjs.org/cdn/018/zim";
window.parent.addEventListener(`sendToPage`, function (winEvt) {
var data=winEvt.detail
zim.zogb('0---',data)
//iframe zim.loop bug
zim.loop(data, function (key, value) {
zim.zogr(key,value)
})
for (var key in data) {
zim.zogp(key,data[`${key}`])
}
})
</script>
<meta name="viewport" content="width=device-width, user-scalable=no" />
</head>
<body>
</body>
</html>
the data can't be loop in ZIM.loop,but can loop in for(key in data)
