diff --git a/test/intl402/NumberFormat/constructor-locales-hasproperty.js b/test/intl402/NumberFormat/constructor-locales-hasproperty.js
index 40e17127b1b6045b2186b7bfaf9b00ead616bbbc..e0d0e39464a66fec876d9540edbcd8649620ed08 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));
 }