Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
om2
on Oct 21, 2020
|
parent
|
context
|
favorite
| on:
Using const/let instead of var can make JavaScript...
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: