When a modern browser loads all of the various JavaScript files a page may include (thinking common examples like: jQuery, bootstrap, a developer's custom JS) together into memory, are all of those separate files loaded into a single execution thread? Or does each discrete file get its own thread?
I know JavaScript is single threaded (unless you introduce something like Workers), but I'm confused about whether one thread is used across multiple files or whether each source file gets its own processing thread.