[JavaScript] Classes defined in other files cannot be instantiated in main
Problem is as stated above. If I define classes on one file, they cannot be instantiated in another file. For instance, say I have a class called MyClass defined in the file "classes"
And in init() in main, I have something like the following: myObject = new MyClass()
I would get the error MyClass is not defined, in file "main" at line x
This makes it difficult to keep things organized.