From f8e3a8ed1163f9e46597690f2d1ded3f2c9a40c5 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma <usharma1998@gmail.com> Date: Fri, 5 Oct 2018 22:59:31 +0530 Subject: [PATCH] Add let before variable declaration --- test/intl402/NumberFormat/constructor-locales-hasproperty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/intl402/NumberFormat/constructor-locales-hasproperty.js b/test/intl402/NumberFormat/constructor-locales-hasproperty.js index 40e17127b1..e0d0e39464 100644 --- a/test/intl402/NumberFormat/constructor-locales-hasproperty.js +++ b/test/intl402/NumberFormat/constructor-locales-hasproperty.js @@ -34,6 +34,6 @@ const proxyLocales = new Proxy(locales, handlers); const nf = new Intl.NumberFormat(proxyLocales); assert.sameValue(actualLookups.length, locales.length); -for (index in actualLookups) { +for (let index in actualLookups) { assert.sameValue(actualLookups[index], String(index)); } -- GitLab