title: Whats the most idiomatic way to declare a list of local javascript variables?
body: <p>I know all of the below versions work, and I've see them all in the wild to varying degrees. Just wondering if there is one fairly standard idiomatic way among these (are there any references to support this)?</p>
  
  <p>Version (1):</p>
  
  <pre><code>var x = 1;
  var y = 2;
  var z = 3;
  </code></pre>
  
  <p>Version (2):</p>
  
  <pre><code>var x = 1,
      y = 2,
      z = 3;
  </code></pre>
  
  <p>Version (3):</p>
  
  <pre><code>var x = 1, y = 2, z = 3;
  </code></pre>