Skip to content

Commit

Permalink
removed test time debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed May 31, 2020
1 parent fef18e1 commit db1beb4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ function calculateStats() {

let testNow = Date.now();
let testSeconds = roundTo2((testNow - testStart) / 1000);
console.log(testSeconds);
let wpm = roundTo2(((chars.correctWordChars + chars.spaces) * (60 / testSeconds)) / 5);
let wpmraw = roundTo2(((chars.allCorrectChars + chars.spaces + chars.incorrectChars + chars.extraChars) * (60/testSeconds))/5);
let acc = roundTo2((accuracyStats.correct / (accuracyStats.correct + accuracyStats.incorrect)) * 100);
Expand Down

0 comments on commit db1beb4

Please sign in to comment.