I wanted to call a function from a Javascript in another Javascript file.
For example, in the calculate.js file, I have the function add (a, b) . And I needed to call this function in the calculator.js file (for example).
I was wondering if this communication between two or more js files is possible. And how could it be done?