Below is a table that contains the contents of a spreadsheet. I want to add a column between StudentNames and result3. I was wondering what the most "elegant" solution might be.
currentClass.push(["StudentNames","result3","result2", "result1"] ,
["andy",55,33,22],
["joyce",22,33,44],
["Joe",22,11,22]
)
var x = spreadsheet.getSheetByName("IST Green").
getRange(1,1,currentClass.length,4).setValues(currentClass);
// How do I add the following into col 1 of the above table -> var y = ["result 4", 11,12,13];