title: Group array values in group of 3 objects in each array using underscore.js
body: <p>Below is an array in which I have to group 3 values in each object:</p>
  <pre class="lang-js prettyprint-override"><code>var xyz = {&quot;name&quot;: [&quot;hi&quot;,&quot;hello&quot;,&quot;when&quot;,&quot;test&quot;,&quot;then&quot;,&quot;that&quot;,&quot;now&quot;]};
  </code></pre>
  <p>Output should be below array:</p>
  <pre class="lang-js prettyprint-override"><code>[[&quot;hi&quot;,&quot;hello&quot;,&quot;when&quot;],[&quot;test&quot;,&quot;then&quot;,&quot;that&quot;],[&quot;now&quot;]]
  </code></pre>