Merge pull request #406 from bocoup/fix-missing-var

Fix missing variable declaration
This commit is contained in:
Brian Terlson 2015-08-05 18:46:02 -07:00
commit ce98c25647
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 \"" +