title: A for loop without any {}
body: <p>So I was reading about shuffling an array. And then I came across <a href="https://stackoverflow.com/a/6274381/283863">this script</a>:</p>
  
  <pre><code>shuffle = function(o){ //v1.0
      for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
      return o;
  };
  </code></pre>
  
  <p>When I look closely, the <code>for</code> does not even have any <code>{}</code> at all! But it is working, like magic. I am very curious to know how it work. <sub><sup>(and the bunch of commas too.)</sup></sub></p>