Skip to content
Permalink
Browse files

http: replace var with let

PR-URL: #30421
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
gclv authored and MylesBorins committed Nov 12, 2019
1 parent d708887 commit 175b8fe5a7c315e2048581298c195459d96a2f89
Showing with 2 additions and 2 deletions.
  1. +2 −2 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();

0 comments on commit 175b8fe

Please sign in to comment.
You can’t perform that action at this time.