External javascript files with executeScript?

Are you able to refer to other javascript files with executeScript?
e.g. const job = require(“./job.js”);

Thanks!

executeScript has acces to the JS on the loaded website. But other than that, I dont think so…