Just wonder. I have extended javascript Array object using its prototype as follows:
for..in iterates over the (non built-in) properties of an object. Do not use it to iterate through an array. Just use a regular for loop.
for..in
for
Read this link https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for...in#Description