Fix missing variable declaration

Fixes #405
This commit is contained in:
Leonardo Balter 2015-08-05 20:04:02 -04:00
parent e06ede9a65
commit e1ec3c29b3
1 changed files with 1 additions and 0 deletions

View File

@ -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 \"" +