In node.js I can use modules.export to pass things to other files in the backend, what is the equivalent in vanilla js?
for example: What if I wanted to prompt the user with client-side javascript then store that data from the prompt into an object. How do I pass that object to the back-end?