diff --git a/harness/testIntl.js b/harness/testIntl.js
index 465d4b3b816988929fb01c0e1262a01a9d241720..61340d48b2fe6229835855106ca2ddd68d0aae90 100644
--- a/harness/testIntl.js
+++ b/harness/testIntl.js
@@ -1193,6 +1193,7 @@ function isCanonicalizedStructurallyValidTimeZoneName(timeZone) {
  * @exception if the test fails.
  */
 function testArraysAreSame(expected, actual) {
+    var i;
     for (i = 0; i < Math.max(actual.length, expected.length); i++) {
         if (actual[i] !== expected[i]) {
             $ERROR("Result array element at index " + i + " should be \"" +