Hacker News new | ask | show | jobs
by munificent 5004 days ago
> I'm not sure function level scope over block level is a bad thing. It makes it more Lisp-y.

Lisp has block scope.

1 comments

Well, it can have both...
Example?

Can you write Lisp like this?

Function for(){ f(x); var x = 2; }

Compiles and runs with f(undefined)