Create JS classes dynamically while looping through object
Advertisements I’d like to create some kind of factory to automate the process of creating JS classes. The factory should loop through an object that contains classes names and their respective parameters. The following simplified code sample hopefully demonstrates what I mean: // function for dependency injection addNumbers = (numbers) => { let result =… Read More Create JS classes dynamically while looping through object