Javascript – Why is .map function returning undefined objects in an array?
I'm trying to fetch JSON data from my API to import to Google Sheets using Google Apps Script. Everything is working as expected, except for when I'm trying to map the object, the result array returns undefined objects. Here's my…