title: The purpose of the comma operator in JavaScript (x, x1, x2, …, xn)
body: <p>In JavaScript <code>(x, x1, x2, …, xn)</code> always returns <code>xn</code>.</p>
  
  <p>In Python this code is called tuple and it returns different values.</p>
  
  <p>My question is what is the purpose of this code in JavaScript?
  Do you have some practical example?</p>