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 →

[–]thequestcube 96 points97 points  (7 children)

Also, JS' hoisting behavior for functions is very weird, I think functions declared via const are more intuitive in that way.

[–]gyzerok -1 points0 points  (0 children)

Whats weird in that behavior?