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; }