Hello. I currently have a custom app that uses one JavaScript file for its functionalities. Using one .js file is leading to it becoming too long, and I would like to create multiple .js files (all in the same directory) and have them export and import functions to/from one another.
I have attempted to use export
and import
with no luck. How can I achieve this?