Iterating Arrays: another approach
It bugs me that you call the for-loop for iterating Arrays the best approach, because inside the array you need to get the iterated element manually. I found another approach that suits me better in some cases:

var data=['test1', 'test2', 'test3'], item=0, n=0;
while ((item=data[n++])) {
   // here you can use item instead of data[n]
}

Regards, LX
Iterating Arrays: another approach
===

It bugs me that you call the for-loop for iterating Arrays the best approach, because inside the array you need to get the iterated element manually. I found another approach that suits me better in some cases:

var data=['test1', 'test2', 'test3'], item=0, n=0;
while ((item=data[n++])) {
   // here you can use item instead of data[n]
}

Regards, LX