Re:Ask HN: Am I one of the few JavaScript programmers who di...
by timothya on Saturday April 05, 2014 @05:17PM
(#7538494)
Yes, it should be one of the first things you learn when learning JavaScript. JavaScript only has function scope, meaning that you only get new scope inside of a function.
[ Parent
| on HN ]