Hacker News new | past | comments | ask | show | jobs | submit login

"I'd (personally) prefer it if it worked like C, and a variable was defined from the "var" statement until the next closing brace."

It does work like C. The scoping you're talking about was introduced in C99.




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

Search: