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 gireeshpunathil committed Nov 12, 2019
1 parent 864608e commit 4712a8e2d075fea0e7dd49326942c025979cd040
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 4712a8e

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