Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pverheggen
10 months ago
|
parent
|
context
|
favorite
| on:
The Temporal Dead Zone, or why the TypeScript code...
I think it’ll still throw a ReferenceError. Initialization is optional, but you still have to initialize before referencing.
rictic
10 months ago
[–]
Nope. `(() => {let bar; return bar})()` is `undefined`
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: