Jak dodać plik JS do witryny za pośrednictwem adresu URL

var jsFile = document.createElement("script");
jsFile.src = "homePage.js";  // it can be path also  "{themes('/scripts/homePage.js')}"
document.body.appendChild(jsFile);  //append it as src to body
Happy Sad Person