title: How to create and add values to a JavaScript Dictionary
body: <p>I'm trying to create a Dictionary with a key and a value list pair. I'm able to create a dictionary for a key value pair but I need to insert a list of Items as value for a key value. 
  Here is my approach:</p>
  
  <pre><code>keys = ['A', 'B', 'C'];
  Elements Corresponding to 'A' : 'apple'
  Elements Corresponding to 'B' : 'ball', 'balloon','bear'
  Elements Corresponding to 'C' : 'cat','cow'
  </code></pre>
  
  <p>and my result should be like:</p>
  
  <pre><code>{ key:'A' value:['apple'], key:'B' value:['ball',balloon','bear'], Key:C' value:['cat','cow']}
  </code></pre>
  
  <p>Here is just a sample data, I will get data dynamically from a table.Please help me out.Thanks In advance.</p>