score:1

Accepted answer
setCounter(prev => prev - factor)

Related Query

More Query from same tag