im not english user but im trying to right write. plz get this
i want
A== Google App script .gs
var result = solvethis(1,3);
Logger.Log(result) // 4
B== webapp javascript .html
<script>
function solvethis(a,b){
return a+b
}
</script>
why i do this want.
i want use some data Library with make javascript => alasql.js
but in .gs -> alasql.js is not work.
so i have to use html.
i dont know a lot but i know dget.
1===.gs
function dget(e){
return HtmlService.createTemplateFromFile("index").evaluate();
}
alasql(select * )
2===.html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
---------------- => it not work.
i do not want webapp page directly open. but i want js Library in .gs
how can i do this?
solveThisis defined before it is used in the google script.