Re:Using const/let instead of var can make JavaScript code r...
by smt88 on Wednesday October 21, 2020 @10:01AM
(#24847953)
I can imagine some workarounds for that. Go to GitHub and pull the tests for a few thousand libraries, and watch for major performance changes.
I mean I'm sure they have a solution, since this seems like a rare occurrence.
I will note though that const/let are not mostly equivalent to var. They're often used interchangeably, but they work pretty differently as far as a JS engine is concerned.
I mean I'm sure they have a solution, since this seems like a rare occurrence.
I will note though that const/let are not mostly equivalent to var. They're often used interchangeably, but they work pretty differently as far as a JS engine is concerned.