Dictionary inside array in Javascript
<p>I have certain data sets. Example, A,B and C. There are sets of these values. For example:-</p>

<pre><code>[A:asd, B:ajs, C:aknd],
[A:sdf, B:gss, C:fdss],
[A:ijq, B:cba, C:jqwd]
</code></pre>

<p>etc.</p>

<p>Now i want to make a dictionary containing these values as separate dictionaries. For example:- </p>

<pre><code>{   
    {
        A:asd,
        B:ajs,
        C:aknd
    },
    {   
        A:sdf,
        B:gss,
        C:fdss
    },
    {
        A:ijq,
        B:cba,
        C:jqwd
    }
}
</code></pre>

<p>Can someone help me out with this. 
I tried doing this but it's not making a dictionary.</p>

<pre><code>for( var i=0; i&lt; n; i++) {
    data += {
                "A":value1,
                "B":value2,
                "C":value3
     }
}
</code></pre>

<p>Any inputs?</p>