News for hackers. Stuff that matters.
Re:Ask HN: What is your favorite Javascript code snippet? by seasoup on Tuesday June 29, 2010 @10:28PM (#1473665)
for (var a=0, len = arr.length; a < len; a++) { // looping for speed, cache the length and save an access }

There are no comments on this comment yet.