From a0b32924010ec08563ef399dac414e0b645e3ea7 Mon Sep 17 00:00:00 2001 From: Guilherme Goncalves Date: Tue, 12 Nov 2019 15:46:28 +0000 Subject: [PATCH] http: replace var with let --- lib/internal/http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/http.js b/lib/internal/http.js index fcfd2c91f22d33..09294888be5e70 100644 --- a/lib/internal/http.js +++ b/lib/internal/http.js @@ -3,8 +3,8 @@ const { setUnrefTimeout } = require('internal/timers'); const { PerformanceEntry, notify } = internalBinding('performance'); -var nowCache; -var utcCache; +let nowCache; +let utcCache; function nowDate() { if (!nowCache) cache();