News for hackers. Stuff that matters.
Re:Using const/let instead of var can make JavaScript code r... by om2 on Wednesday October 21, 2020 @02:12AM (#24845196)
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.

There are no comments on this comment yet.