how to increment a const without calling/creating a listerner function : In javascript we have addEventlister, this listens to an even and calls a function called a listener function. Is an alternate approach possible where we increment the value of a const without using a function to do this in case of event being triggered?

**Instead of this**

    const clickVar = 0;
    x.addEventListener("click", RespondClick);
    function RespondClick() { 
                clickVar++;
            }

**Sample Alternate implementation**


    x.addEventListner(click);
    if (event == true){ clickVar++; }

 
