title: Concatenating multiple statements using Commas vs Semi colons
body: <p>While working with minified Jquery I noticed multiple statements concatenated by commas.</p>
  
  <p>For Example </p>
  
  <pre><code>event.preventDefault();
  event.stopPropagation();
  jQuery.event.trigger( event, data, this[0] );
  return event.result;
  </code></pre>
  
  <p>minified to:</p>
  
  <pre><code>c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result
  </code></pre>
  
  <p>I did see a similar question : <a href="https://stackoverflow.com/questions/3781406/javascript-variable-definition-commas-vs-semicolons">JavaScript variable definition: Commas vs. Semicolons</a></p>
  
  <p>But in this case, obviously there is no performance benefit or reduction of characters.</p>
  
  <p>Could I assume it was just a matter of choice for the minification script to do so? </p>
  
  <p>Wouldn't it have been more safe to go with semicolon in the first place.. and prevent the overhead of the logic which avoided concatenation of commas in case of the return statement.</p>