Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Oct 21, 2020
|
parent
|
context
|
favorite
| on:
Using const/let instead of var can make JavaScript...
Perhaps the linked, seemingly related WebKit bug may be interesting?
https://bugs.webkit.org/show_bug.cgi?id=199866
whoisburbansky
on Oct 21, 2020
[–]
TLDR seems like var isn't scope-bound, but let is, and actually calculating the scope for let statements is what's causing the slowdown?
morelisp
on Oct 21, 2020
|
parent
[–]
Damn you Olin Shivers!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: