title: Use of commas versus semicolons?
body: <p>Given the following code:</p>
  
  <pre><code>var fn = function () {
      var x = 'x',
      y = 'y';
      this.a = 'a',
      this.b = 'b',
      this.c = 'c';
      this.d = 'd',
      this.e = 'e';   
  }
  </code></pre>
  
  <p>As can be seen, there is a mix of both.</p>
  
  <p>What would be the benefit of using one or the other?</p>
  
  <p>My understanding is that the semicolon is to end the statement. And comma should be used to string together multiple declarations.</p>
  
  <p>So is it safe to say that with this example then there should only be two semicolon?</p>
  
  <pre><code>var fn = function () {
      var x = 'x',
      y = 'y';
      this.a = 'a',
      this.b = 'b',
      this.c = 'c',
      this.d = 'd',
      this.e = 'e';   
  }
  </code></pre>