Javascript: Any way to create a class by constructing class name using strings/variables dynamically without eval?
I’ve tried myriads of ways to create new class instances dynamically, without using eval and hard coded key-value pairs, to no avail. Seemingly there is no way in modern Javascript to query the user defined classes and/or to create them. Is there any remedy to my problem?