title: How do you split an array into array pairs in JavaScript?
body: <p>I want to split an array into pairs of arrays.</p>
  
  <pre><code>var arr = [2, 3, 4, 5, 6, 4, 3, 5, 5]
  </code></pre>
  
  <p>would be</p>
  
  <pre><code>var newarr = [
      [2, 3],
      [4, 5],
      [6, 4],
      [3, 5],
      [5]
  ]
  </code></pre>