Let's say that I have two files that are in separate directories:
/folder1/first.js
/folder1/folder2/second.js
first.js contains a variable called newName. Would it be possible to access it in second.js? (and how)?
EDIT: The HTML file is located in the same directory as first.js.