I am searching for a solution to assign an entire array to a cell in Google Apps Script and Google Sheets.
My attempt at using cell.setValue(array) only resulted in the cell containing the first item of the array.
var cell = SpreadsheetApp.getActiveSpreadsheet().getRange("A1").getValues();
var array = ["Item one", "Item two", "Item three"];
cell.setValue(array)
Instead of just "Item one," I want the cell to display "Item one, Item two, Item three."