title: ReactJs how to render pair-value of assoc array
body: <p>How to render pair-value of assoc array?
  I have assoc array:</p>
  
  <pre><code>let data = ["foo": 3, "bar": 5, "baz": 6];
  </code></pre>
  
  <p>and I need to render it in my component. 
  I try something like this:</p>
  
  <pre><code>let content = data.map((value, index) =&gt; {
    return (
      &lt;div key={index}}&gt;
        {index}: {value}
      &lt;/div&gt;
    );
  });
  </code></pre>
  
  <p>But it does not work.</p>