|
|
|
|
|
by onion2k
265 days ago
|
|
`let`s and `const`s incur a significant performance penalty. Is that still true? Early versions of V8 would do scope checks for things that weren't declared with var but it doesn't do that any more. I think const and let are lowered to var representation at compile time now anyway, so when the code is running they're the same thing. |
|