I’ve converted .includes to .indexof, but now I need some help with this simple bit of code. I’m changing my code to the sandbox (version ES5) due to other errors ('Trusted Type' assignment error with Google Form - #2 by PT7)
With the sandbox I’m getting this error:
[error] Line 164: Unterminated regular expression (1:17)
var time = parseFloat(${!runtime});
var Update = false;
if (time - ${lastRunningTime} > 600) Update=true;
return Update