Given the following ES6 class:
class MyClass
{
static static1() {}
static get static2() {}
get nonstatic() {}
}
...is there a way to loop through only the static methods/properties (including getters)?
Given the following ES6 class:
class MyClass
{
static static1() {}
static get static2() {}
get nonstatic() {}
}
...is there a way to loop through only the static methods/properties (including getters)?