In my Node Express app I have created a variable in app.js as shown below:
let accounts = [checkingAccount, savingAccount]
Now, I have a separate file called account.js (Not a route) just a class file. And I want to access the accounts array. How can I do that?