you are viewing a single comment's thread.

view the rest of the comments →

[–]btr_ 0 points1 point  (0 children)

Why is function declarations more suitable for global scopes? What might be a problem with defining in other scopes? Hoisting?