Przeglądaj źródła

Minor syntax fix

theflametrooper 8 lat temu
rodzic
commit
2a44638987
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      backend/logic/logger.js

+ 1 - 1
backend/logic/logger.js

@@ -1,6 +1,6 @@
 'use strict';
 
-function twoDigits(num) {
+let twoDigits = (num) => {
 	return (num < 10) ? '0' + num : num;
 }