Re:Node.js Guide
by mnutt on Wednesday March 30, 2011 @09:05PM
(#2389987)
Other than style, is there an advantage to either of them over just declaring each one separately?
One issue I see with multiple variable declarations is that a forgotten comma doesn't cause a syntax error, it just causes that variable and any after it to be global variables. Which leads to much nastier javascript bugs.
[ Parent
| on HN ]