[英]Google-apps-script SyntaxError
I have a problem with the doGet () function.If it always runs error SyntaxError: Unexpected token ')' (line 12, file "Code")我的 doGet () function 有问题。如果它总是运行错误SyntaxError: Unexpected token ')' (第 12 行,文件“代码”)
function doGet() {
var ss = SpreadsheetApp.openByUrl(url);
var ws = ss.getSheetByName("Data");
var range = ws.getRange(1,1,ws.getRange("A3").getDataRegion().getLastRow(),1).getValue();
var tmp = HtmlService.createTemplateFromFile('page');
tmp.list = range;//.map(function(r){return r[0];} );
return tmp.evaluate();
}
Where could be the problem?
问题可能出在哪里? Thank you for your answer.
谢谢您的回答。
It's very likely that the problem is in the file page.html
.问题很可能出在文件
page.html
中。
Related有关的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.