From within constructor:
class Example {
constructor(){
var proto = Object.getPrototypeOf(this);
var methods = Object.getOwnPropertyNames(proto);
methods.shift();
console.log(methods);
}
method1(){}
method2(){}
}
var x = new Example();
// (2) ["method1", "method2"]