Listen, and can somehow in JS to create an object from class C is not known in advance name?
I mean, something like this:
let name = 'someName'; let obj = new name();
That is to say that JS didn't have a name class(), and took the name from a variable name?
In PHP it is simple — there's just going to string and passed parameter. And in JS it possible?