Cache variable in the function scope
Is there a performance benefit to replacing == with ===?
Test
with <link>
This version declares i once before
New benchmark Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js (v2.1.1)
Facebook page: https://www.facebook.com/MeasureThat.Net