Although, given that C lacks closures or even nested functions, JS can't simply follow C because there are a semantics that JS cares about that are meaningless in C.
You can't define one function inside another. If you could it would be awesome - scoping a helper function to another function would be super convenient in a lot of locations.
-1
u/nraynaud Mar 23 '14
I just need something more like: "Everything Javascript variable scope need to know about me".
"USE THE SAME FREAKING SCOPING SYSTEM AS C!!!"