如何在谷歌脚本中同时调用函数 这是我现在的代码
var ss = SpreadsheetApp.openByUrl( " https://docs.google.com/a/emomentum-interactive.com/spreadsheets/d/1iW-AGK_BhhhIvLWH_VTacwdqTK_z3vpnMq2OPx4unDo/edit#gid=0");
var sheet=ss.getSheets()[0];
var range1= sheet.getRange(2, 3, 5, 3);
var range2= sheet.getRange(7, 3,11, 9)
function test() {
oneTest();
twoTest();
function oneTest()
{
var values1 = range1.getValues();
Logger.log(values1);
}
function twoTest()
{
var values2 = range2.getValues();
Logger.log(values2);
}
}
我想打电话给oneTest()& twoTest()同时