var generated_Obj= {
id: 'unqiue',
....
some other properties
}
var hash = {};
I would be grateful to know how to add generated_Obj to hash using generated_Obj.id as a key.
If a solution with push() method is possible I would like to learn about it either, ofcourse if there's approach that is efficent it's better
10x for your kind help :)