Re:JavaScript Patterns Collection
by tomp on Monday March 18, 2013 @07:29AM
(#5393503)
Personally, I prefer function declaration for most functions (unless they are bound dynamically). The reason is very simple: the "function" keyword at the beginning of the line makes it very clear and obvious what's going on. I prefer the code to be its own documentation.
[ Parent
| on HN ]
There are no comments on this comment yet.