mercredi 26 octobre 2016

JavaScript not using variables from other JS files

I'm pretty new to JS and I'm trying to pull variables from other files. I am having an issue with this though, I am importing all the JS files in what I have seen (looked around a lot before asking this) to be correct order. I also have tried using object creation like "Filename moduleName = new Filename();" then calling things set in that instance like "moduleName.variableName" this does not work either. I have made a Repl.it for this issue and here it is: https://repl.it/EGfc/5

If anyone has any suggestions, questions, comments or concerns please ask or say them! Thanks, Aaron




Aucun commentaire:

Enregistrer un commentaire