Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If they’re referring to lexical block scope then indeed, js historically did not have block scoping, it was function and global scoped.

There are also differences in how eval works, etc



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: