Skip to content

Commit

Permalink
http: replace var with let
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Guilherme Goncalves authored and MylesBorins committed Dec 17, 2019
1 parent d708887 commit 175b8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 175b8fe

Please sign in to comment.