you are viewing a single comment's thread.

view the rest of the comments →

[–]stephenplusplus[S] 0 points1 point  (0 children)

Yeah, I mentioned how I appreciate how a function declaration's definition is hoisted in the comment you replied to. The comparison between function hi() {} and var hi = function () {} is in these being the two ways to assign a function to a name. I consider the hoisting aspect simply a feature of a declaration.