How do I add an element to an existing property map in JavaScript?
<p>I'm using this piece of code to create a property map that I will pass to jQuery:</p>

<pre><code>var myMap = {"one": 1, "two": 2, "three": 3};
</code></pre>

<p>However, this isn't complete. I want to iterate through a <code>for</code> loop and create a complex property map, that looks like this:</p>

<pre><code>[...
{
  sleep: 2,
  fade: 1
}, [
  { src: 'sand-castle.jpeg' },
  { src: 'sunflower.jpeg'   },
  { src: 'flip-flops.jpeg'  },
  { src: 'rubber-ring.jpeg' }
]
</code></pre>

<p>I'm iterating through the list of files in the directory. How do I do this?</p>
