I have a function name = "test".
How do I call this.test() function in a class knowing the function name?
I'm guessing I can use the eval() function but that is not working?
How can I call a class function using only the string name in javascript?