@testgorilla/tgo-typing-test 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -671,10 +671,7 @@ function canQuickRestart(mode, words, time, CustomText) {
671
671
  }
672
672
  function clearTimeouts(timeouts) {
673
673
  timeouts.forEach(to => {
674
- if (typeof to === 'number')
675
- clearTimeout(to);
676
- else
677
- clearTimeout(to);
674
+ clearTimeout(to);
678
675
  });
679
676
  }
680
677
  //https://stackoverflow.com/questions/1431094/how-do-i-replace-a-character-at-a-particular-index-in-javascript