Skip to content
Permalink
Browse files

util: replace var with let

PR-URL: #30439
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@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
ssncferreira authored and MylesBorins committed Nov 12, 2019
1 parent bd853cc commit ec49ea74fe8225ebd71ff796ee2562d2666d1481
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit ec49ea7

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