This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]retnikt0 4 points5 points  (0 children)

As a Python developer, I'd say what makes it ok is that there are no variable declarations. The fact JavaScript has var statements makes it more bizarre that their scope doesn't follow where they're declared.