helperMethods = {
first: () => consoleLogNative('Hi'),
second: () => consoleLogNative('By'),
};
this.helperMethods.first();
elem.onclick = null;
- не работает.elem.outerHTML = elem.outerHTML;
- я в курсе. Просто, хотелось бы более гибко, а не так топорно.