Joined February 2012
·

Daniel Lamb

Greater Seattle Area
·
·
·

Posted to JavaScript Looper over 1 year ago

@lastguest good point, but while the Array.reverse() method is native (fast), it isn't free, so depending on the size of the array it could degrade performance.

Posted to JavaScript Looper over 1 year ago

@leemachin yep there are a lot of variations on how to optimize looping, thanks for sharing yours.

Achievements
97 Karma
2,770 Total ProTip Views