Hacker News new | ask | show | jobs
by gsathya_hn 2056 days ago
The doc is incorrect, `let`(and even `var`) does perform as well as `const` in optimized code (but it comes with performance cliffs, if there is a re-assignment).