Group javascript items by one property
My question is related to [this][1] question. You will have to first read it.

Now that I have an array of javascript objects. I want to group my objects based on `CODE`. So there can be duplicate codes in that code string.


  [1]: http://stackoverflow.com/questions/3075288/create-json-object-of-asterisk-seperated-strings
Group javascript items by one property
===

My question is related to [this][1] question. You will have to first read it.

Now that I have an array of javascript objects. I want to group my objects based on `CODE`. So there can be duplicate codes in that code string.


  [1]: http://stackoverflow.com/questions/3075288/create-json-object-of-asterisk-seperated-strings