0👍
It had only to convert the event into Integer!
onChange(event, id, cat) {
var num = parseInt(event.target.value);
if(cat == "F") {
this.fScore += num;
} else {
this.hScore += num;
}
}
Source:stackexchange.com