Hello,
Try running the code below:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script> b = jQuery.noConflict(true); </script>
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.3/mootools-yui-compressed.js"></script>
<script>
(function($){
$.a = function(){
var x = [];
for (l in x){
console.log(l);
}
};
})(b);
b.a();
</script>
Even though x is empty, in console.log you will see some values. Why is this happening? Am at the end of my wit.
Can someone please suggest how to solve this problem.