title: How can I make a .map?
body: <p>I have a little drawback, this is my code:</p>
  
  <pre><code> const overflow = timelineitems &amp;&amp; timelineitems[0][Object.keys(datos)[80]].total_cases;
  </code></pre>
  
  <p>at number 80 is the position of a date</p>
  
  <pre><code>Object.keys(datos)[80]
  </code></pre>
  
  <p>If I change the number 80 all ok, the date is changed.</p>
  
  <p>Now my problem is that I want to try to make a .map of all the (total_cases) that I have in the array: <a href="https://api.thevirustracker.com/free-api?countryTimeline=US" rel="nofollow noreferrer">link of the api that I am using</a> I am using timelineitems</p>
  
  <p>trying to make several .map without success, my last attempt was:</p>
  
  <pre class="lang-js prettyprint-override"><code>const datos = timelineitems &amp;&amp; timelineitems[0]
  
  const dateTotalCase = datos[Object.keys(datos)[0]].total_cases,
  
  const dateTotalCase =  datos[Object.keys(datos)[6]].total_cases,
  
  const dateTotalCase =  datos.map((item) =&gt; item[Object.keys(item)[1]].total_cases)
  </code></pre>
  
  <p>Everything works, but it just brings me a matrix, and what I want is for you to bring me all the total_case <a href="https://api.thevirustracker.com/free-api?countryTimeline=US" rel="nofollow noreferrer">API LINK</a></p>