I can't figure out why do you need a chain with counters? Why you didn't just write let counter: number = 0;
and further increment inside returning callback? counter = counter++;
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I can't figure out why do you need a chain with counters? Why you didn't just write
let counter: number = 0;
and further increment inside returning callback?
counter = counter++;