I was playing a bit with javascript and found out (at least for me) strange behaviour when dealing with multi-dimensional arrays via a foreach loop. So I have this piece of code
for (... in ...) iterates over the properties of an object, not the elements of an array. w3schools, javascript garden
for (... in ...)