Skip to content

Commit c8df932

Browse files
Guilherme Goncalvestargos
Guilherme Goncalves
authored andcommitted
http: replace var with let
PR-URL: #30421 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent eead424 commit c8df932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/http.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
const { setUnrefTimeout } = require('internal/timers');
44
const { PerformanceEntry, notify } = internalBinding('performance');
55

6-
var nowCache;
7-
var utcCache;
6+
let nowCache;
7+
let utcCache;
88

99
function nowDate() {
1010
if (!nowCache) cache();

0 commit comments

Comments
 (0)