GB
Size: a a a
GB
GB
VP
GB
VP
VP
GB
VP
AB
O
M
O
N
M
M
M
mockedData.reduce(({countWrong, countCorrect}, {answer}) => {
answer === "WRONG"&& countWrong++
answer ==="CORRECT" &&
countCorrect++
return {countWrong, countCorrect}
}, {countWrong:0,countCorrect:0})
DK
mockedData.reduce(({countWrong, countCorrect}, {answer}) => {
answer === "WRONG"&& countWrong++
answer ==="CORRECT" &&
countCorrect++
return {countWrong, countCorrect}
}, {countWrong:0,countCorrect:0})
AS