title: Adding external javascript file in javascript
body: <p>I am writing an Electron program and want to use some javascript classes in the main process. I would prefer to have those classes in different files and include them inside of the script.</p>
  
  <p>I usually did this by just adding both, the script and the classes inside the html file but since it is the main process there is not html file.</p>
  
  <p><strong>Question</strong>
  Is it possible to include an external javascript file in a different javascript file?</p>