JavaScript Dynamic Es6 Class Method Names const TEST_METHOD = 'testMethod'; class MyClass { [TEST_METHOD](message) { console.log('msg: %s', message); } } let mc = new MyClass(); mc.testMethod('Hello World!');