Better HN
topnewbestaskshowjobs
Log inSign up

vocal_bob

2 karma · joined Jun 22, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

It's not that's surprising.

To support open recursion, a lot of functional languages consider differently top level functions and functions inside functions. That's why in JavaScript you have a murky global object with some weird scope rules that makes top level functions globally available.