re: [Lookin' for advice] How should I use loop effectively? VIEW POST

VIEW FULL DISCUSSION
 

If you use JavaScript, you can take a look at this benchmark to compare performance between different type of loops (for iterating in an array): jsperf.com/for-test-cases/1

The for..in method should not be used for arrays, but included for wholeness.

code of conduct - report abuse