I have a button that onClick starts a timer that calls a function and passes the counter. I used an alert box to see that I was getting counter as 0. starts a timer tha
I have a button that onClick starts a timer that calls a function and passes the counter. I used an alert box to see that I was getting counter as 0. starts a timer tha