I'm receiving an array of numbers from an API, but when I use methods on it, the array returns empty.
When I log an example array and the API array, the two have a different format(See in below image)
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.
The example array and API array when expanded log something like below
When I try to slice them using:
exampleArr.slice(0,3)
apiArr.slice(0,3)
They log following
Any help would be greatly appreciated.