JavaScript Array filling(one to many) : <p>I am new in javascript. Could you help me to make from this array: </p>

<pre><code>[ [ '00011111', 'ADMIN' ],
  [ '00033333', 'ACTIVITY' ],
  [ '00022222', 'SUPPORT' ],
  [ '00011111', 'MEMBER' ],
  [ '00022222', 'MEMBER' ],
  [ '00033333', 'MEMBER' ] ]
</code></pre>

<p>This one:</p>

<pre><code>[ [ '00011111', 'ADMIN', 'MEMBER' ],
  [ '00033333', 'ACTIVITY', 'MEMBER' ],
  [ '00022222', 'SUPPORT', 'MEMBER' ] ]
</code></pre>

<p>Thank you in advance.
Would be nice if you could suggest several variants :)</p>
