'use strict';
class GOD{
constructor(){
this.counter = 0;
}
handleClick(){
this.counter+=1;
console.log(this.counter)
}
}
const buton = document.querySelector("button");
const cls = new GOD();
buton.addEventListener("click", cls.handleClick);