How to make such a structure?
<p>What type of structure is this, and how to I make such using a loop?</p>

<pre><code>var movies = [
     { Name: "The Red Violin", ReleaseYear: "1998" },
     { Name: "Eyes Wide Shut", ReleaseYear: "1999" },
     { Name: "The Inheritance", ReleaseYear: "1976" }
];
</code></pre>

<p>I am using <code>each</code> for the loop</p>

<pre><code>$.each(result, function(key, value){

    movies??? = this.name;
    movies??? = this.year;

});
</code></pre>
