Re:Best Practices Exist For A Reason
by andywhite37 on Wednesday May 02, 2012 @11:16PM
(#3922225)
Separate vars is what I prefer to do, but JSLint actually recommends that you change multiple var statements to a single var with variables separated by commas (and with a semicolon at the end of course!). (And also all var declarations at the top of the function...).
[ Parent
| on HN ]
There are no comments on this comment yet.