I've got a sheet which pulls data from an API, formats it nicely into an array, then writes the array to a sheet.
However the API only allows a certain number of items to be queried at a time, so I've got a loop that is running the API call several times and then writing to sheet.
using multiple setvalues commands to write the data is a bit slow, and I was thinking of having a "Master" array that I can append the results to in each loop, then just write the Master array to the sheet once.
Which I'm hoping will help improve performance.
However I can't find any information on how to merge arrays together.
E.g. I've declared my large array
var fullDataArray=new Array(new Array())
And I have a dataArray that is being populated by my API call
Other than using splice and appending the data row by row, is there a way to append dataArray to fullDataArray?
