Y
Hacker News
new
|
ask
|
show
|
jobs
by
om2
2060 days ago
If the code is hot, there is no perf difference in modern JavaScript engines. They will speculate and both your var access and length property access turn into just simple a memory read or a constant.