I am currently working on developing a code to showcase all the public properties of a class that are available in a JavaScript file. As of now, the user has to manually input the name of the class in a text box. However, my goal is to enhance user experience by providing a list of classes present in the JavaScript file for the user to select from.
In a C# solution, one would typically load the dll and retrieve all types in the assembly using Assembly.getTypes() function. Nevertheless, I am eager to explore methods to fetch all class types in a JavaScript file.
Is this task feasible? Could potential challenges arise due to JavaScript being an interpreted language?
Your input on this matter would be highly valued.
Thank you