Why single var is good in javascript?
<p>Can anyone tell me why use one var declaration for multiple variables and declare each variable on a newline consider is a good programming behavior?</p>

<pre><code>// bad
var items = getItems();
var goSportsTeam = true;
var dragonball = 'z';

// good
var items = getItems(),
    goSportsTeam = true,
    dragonball = 'z';
</code></pre>
