I\'m reading the Javascript Guide from Mozilla And when they contrasted JS to Java , It got me thinking, Java code is easily split up with each class in his own file. after futh
You don't need to do anything differently. Just include the script files and they work as if it was a single file.
Javascript doesn't have file scope. Once the code is parsed it doesn't matter where the code came from.