title: Map function syntax for keys with spaces in Javascript
body: <p>I have the following dataset that I am trying to get values from, using JavaScript.</p>
  <p><a href="https://i.stack.imgur.com/d6uMa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d6uMa.png" alt="enter image description here" /></a></p>
  <p>My code is as follows:</p>
  <pre><code>{companies.map(({ matches }) =&gt; (
    &lt;Company
      key={matches}
      name={matches}
      symbol={matches}
    /&gt;
  ))}
  </code></pre>
  <p>I have tried to get the values by providing the key in the map function as follows:</p>
  <pre><code> name={matches['2. name']}
  </code></pre>
  <p>My question is, what syntax should I be using to get a value where the key has spacing and full-stops?</p>