I'm trying to transfer the following value from the index.html script tag to Code.gs
let nr = 3; //Using the following function google.script.run(nr);
Code.gs:
function tr(nr) { Logger.log(nr); }
But when I run the function I always get the null value