http://jsperf.com/loop-length-caching

It varies from browser to browser. It is likely just noise for the ones where it is very close and alternating between versions. For some browsers like Opera where the difference is quite large, I'm guessing it just lacks the optimizations made by other browsers.