How to pass a dynamic Class to a function with a constructor – Javascript
I've got an instance where I want to create X number of Classes that all need a constructor to assign a logging service, and then all have a method create which will handle the data object differently depending on the…