No. I am not talking about the default name "script". I am talking about the name of the corresponding file that gets created with name in format something like "jsAction_35948481-1f9f-4988-8dc4-da181f92343a.js" I tried renaming this file but I wasn't able to.
I need to use the functions I have written in one JS file in to another. I believe the way to do it is as follows:
var imported = context.createElement('script2');
imported.src = '/path/to/imported/script';
Any other way to go about it?