EasyUI Forum

General Category => Bug Report => Topic started by: kiddkyd on August 03, 2011, 05:40:44 PM



Title: some bug
Post by: kiddkyd on August 03, 2011, 05:40:44 PM
on 1.2.3 , if you using "for(.. in...)",You will see something you do not wanted to see;
Code:
    <script src="../js/jquery-easyui/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../js/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script language="javascript">

        function aaa() {
            var a = ["a", "b", "c"];
            for (var el in a) {
                alert(a[el]);
            }
        }

       
    </script>
</head>
<body onload="aaa()">
</body>