I'm having this weird issue where I have an array returned from a function:
let result = new Array();
result.push(compressedFile)
return result
Then I simply try to console.log the array's length and it's first value:
files = ****result from other function****
console.log(files)
console.log(files.length)
console.log(files[0])
console.log(files['0'])
And here's what's returned in the console:
The console clearly shows that the files variable holds values. What am I missing?