From 260b667408cf2a009cc57b73eef6271f3ee14a5d Mon Sep 17 00:00:00 2001 From: Vladimir Adamic Date: Tue, 12 Nov 2019 14:43:55 +0000 Subject: [PATCH] test: replace var with let in test/parallel/test-whatwg-url-toascii.js --- test/parallel/test-whatwg-url-toascii.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-whatwg-url-toascii.js b/test/parallel/test-whatwg-url-toascii.js index 4869ab3f1d3bd1..26437fe6b73a8b 100644 --- a/test/parallel/test-whatwg-url-toascii.js +++ b/test/parallel/test-whatwg-url-toascii.js @@ -43,7 +43,7 @@ function makeURL(type, input) { } function runTests(tests) { - for(var i = 0, l = tests.length; i < l; i++) { + for(let i = 0, l = tests.length; i < l; i++) { let hostTest = tests[i] if (typeof hostTest === "string") { continue // skip comments