Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on Jan 23, 2016
|
parent
|
context
|
favorite
| on:
ES6 Cheatsheet
let f = function() { ... g(); ... } let g = function() { ... f(); ... } f();
Works despite the temporal dead zone and depends on hoisting. This exact example is why hoisting was kept for let.
mercer
on Jan 24, 2016
[–]
Interesting. This kind of stuff makes me want to dive into the details of these kinds of choices, as I regularly wonder why languages designed are a certain way.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: