diff --git a/fs/api_timer.js b/fs/api_timer.js index e324086..a79e6e2 100644 --- a/fs/api_timer.js +++ b/fs/api_timer.js @@ -43,7 +43,7 @@ let Timer = { // ``` fmt: function(fmt, time) { if (!fmt) return 'invalid format'; - let res = 0, t = Math.round(time || Timer.now()), s = ' '; + let res = 0, t = Math.round(time || Timer.now()), s = ' '; while (res === 0) { res = this._f(s, s.length, fmt, t); if (res === -1) return 'invalid time';