As long as all .js files are requested on the page, functions / variables in all of them will be available to any other users after loading the page.
, . , .js .
javascript, (, ), , sharedfunctions.js . sharedfunctions.js javascript.
, , . , , sharedfunctions.js script .
IMHO, , js js .