title: Array from API returns empty when using methods
body: <p>I'm receiving an array of numbers from an API, but when I use methods on it, the array returns empty. </p>
  
  <p>When I log an example array and the API array, the two have a different format(See in below image)</p>
  
  <p><a href="https://i.stack.imgur.com/FaMjD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FaMjD.png" alt="two array with different content"></a></p>
  
  <p>The second array is from an API with a length of 20, when I try to slice it to 3, it returns in the same format but empty.</p>
  
  <p>The example array and API array when expanded log something like below</p>
  
  <p><a href="https://i.stack.imgur.com/kqxQJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kqxQJ.png" alt="The example array and API array when expanded"></a></p>
  
  <p>When I try to slice them using:</p>
  
  <pre><code>exampleArr.slice(0,3)
  apiArr.slice(0,3)
  </code></pre>
  
  <p>They log following</p>
  
  <p><a href="https://i.stack.imgur.com/ruPMj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ruPMj.png" alt="Array when slice apply"></a></p>
  
  <p>Any help would be greatly appreciated. </p>