Combining 2 arrays in javascript
<p>I have 2 arrays in javascript. </p>

<pre><code>            var A = ['c++', 'java', 'c', 'c#', ...];
            var B = [12, 3, 4, 25, ...];
</code></pre>

<p>Now from these 2 arrays i want to create another array like :</p>

<pre><code>  [['c++',12], ['java',3], ['c',4], ['c#', 25] ...];
</code></pre>

<p>Both <code>A</code> and <code>B</code> arrays are variable length in my case so how can i do this?</p>
