Don't invoke inherited method twice in ES6 classes
问题 I'm moving from RequireJS to browserify (together with babelify) and try to rewrite my current modules to classes. For each of my RequireJS modules I have a method called eventHandler which handles all module specific events. Now when I extend a class, the parent class calls the subclass`s eventHandler method which leads to invoking the method twice. Parent class: 'use strict'; class Tooltip { constructor() { this.eventHandler(); } eventHandler() { // Module specific events } } module.exports