diff --git a/index.html b/index.html
index 8553b4c..81fc938 100644
--- a/index.html
+++ b/index.html
@@ -75,10 +75,6 @@
const { completedTests, startedTests, timeTyping } = typingStats;
const { time, words } = personalBests;
- function maxReducer({ prev_wpm, prev_acc }, { current_wpm, current_acc }) {
- return (prev_wpm > current_wpm) ? { prev_wpm, prev_acc } : { current_wpm, current_acc }
- }
-
function getMaxWpmAcc(stats) {
var max_acc = 0.0; var max_wpm = 0.0;
for ({ wpm, acc } of stats) {
@@ -91,11 +87,6 @@
}
const best15s = getMaxWpmAcc(time['15']);
-
- function maxReducer(prev, current) {
- return (prev > current) ? prev : current
- }
-
const best30s = getMaxWpmAcc(time['30']);
const best60s = getMaxWpmAcc(time['60']);
const best120s = getMaxWpmAcc(time['120']);