From 15f4ffa0083074f8a54d0faa9134ce72edb92e78 Mon Sep 17 00:00:00 2001 From: Susana Ferreira Date: Tue, 12 Nov 2019 16:13:19 +0000 Subject: [PATCH] util: replace var with let --- lib/internal/util/comparisons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/util/comparisons.js b/lib/internal/util/comparisons.js index b3256716c38b63..52cd11429e6ac6 100644 --- a/lib/internal/util/comparisons.js +++ b/lib/internal/util/comparisons.js @@ -59,7 +59,7 @@ function areSimilarFloatArrays(a, b) { if (a.byteLength !== b.byteLength) { return false; } - for (var offset = 0; offset < a.byteLength; offset++) { + for (let offset = 0; offset < a.byteLength; offset++) { if (a[offset] !== b[offset]) { return false; }