2 ms·
I don't generally care too much to talk about style when the problem at hand is that someone has been banging their head against the desk for the past two hours
by lhorie 16y ago
I don't generally care too much to talk about style when the problem at hand is that someone has been banging their head against the desk for the past two hours and they just want it to work (and, in my experience, this usually is the case, for some reason)
But yeah, if we're gonna be super nitpicky, yeah sure, improve the for loop also, while we're at it.
for (var i = -1; els[++i];) {//given the code in the loop body, this is shorter and faster