; for (var index=0; index
// Your code working on item here...
}
In addition, if the array is so large, each time to check the length will be so costly. Use following statement instead:
; for (var index=0, len=myArray.length; index
// Your code working on item here...
}
http://www.prototypejs.org/api/array
No comments:
Post a Comment