Adding object to hash/array using a object's property as a key
<pre><code>var generated_Obj= {
              id: 'unqiue',
              ....
              some other properties
            }

            var hash = {};
</code></pre>

<p>I would be grateful to know how to add <code>generated_Obj</code> to hash using <code>generated_Obj.id</code> as a key.</p>

<p>If a solution with <code>push()</code> method is possible I would like to learn about it either, ofcourse if there's approach that is efficent it's better</p>

<p>10x for your kind help :)</p>
