Object thatHolds Arrays JQuery
<p>How can I make an Object that holds arrays as element. I tried that:</p>

<pre><code>   var dMap = new Object();
   ...
   if (dMap[d.name] === undefined) {
           dMap[d.name] = p.name;
        } else {
           dMap[d.name].push(p.name);// It gives error here
    }
   ...
</code></pre>

<p>How to do that?</p>
