title: Create new Dictionary with javascript
body: <p>I am trying to figure out how to do an C# "function" in javascript but am having no luck!?</p>
  
  <p>Here is the C#:</p>
  
  <pre><code>var parameters = new Dictionary&lt;string,string&gt;
  {
      { "link", "http://mysite.com" },
      { "name", "This is an test" }
  };
  </code></pre>
  
  <p>I want to think that I have to use "new Array" but am not sure how to do this?</p>
  
  <p>Any help is appreciated and thanks in advance :-)</p>