summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-internal.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-net-internal.js')
-rw-r--r--test/parallel/test-net-internal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-internal.js b/test/parallel/test-net-internal.js
index 0c8d1cf9e1..a79d022a5d 100644
--- a/test/parallel/test-net-internal.js
+++ b/test/parallel/test-net-internal.js
@@ -6,7 +6,7 @@ require('../common');
const assert = require('assert');
const isLegalPort = require('internal/net').isLegalPort;
-for (var n = 0; n <= 0xFFFF; n++) {
+for (let n = 0; n <= 0xFFFF; n++) {
assert(isLegalPort(n));
assert(isLegalPort('' + n));
assert(`0x${n.toString(16)}`);