For Loops timing out: JavaScript / Google Apps Script
问题 So I am have this issue with Google Apps Script. It is timing out because the app server requests are taking too long. I was just wanting to see if my coding could be cleaned up a bit to run faster or is there another method which would work? Code below: for (var y = 1; y < listLast ; y++) { var matchor = listSheet.getRange("B" + y).getValue(); var listEmCo = listSheet.getRange("A" + y).getValue(); if(matchor == "Match") { Logger.log("Do Nothing"); } else { for (var x = 0; x < formLast; x++)