For example, I have some class with some methods:
class SomeClass() {
someMethod1() {
}
someMethod2() {
}
}
Can I get all function names of this class instance?
Object.keys(new SomeClass())
gives me an empty array.
I want to get array like ['someMethod1', 'someMethod2']
.