title: Get different arrays from single array
body: <p>I have below input array,</p>
  
  <pre><code>var temp = ['3_2', '3_2', '3_2', '4_2', '4_2', '5_2', '5_2' ]
  </code></pre>
  
  <p>that, I need to split into temp arrays like below,</p>
  
  <pre><code>var temp1 = ['3_2', '3_2', '3_2']
  
  var temp2 = ['4_2', '4_2']
  
  var temp3 = ['5_2', '5_2']
  </code></pre>