mirror of
https://github.com/tc39/test262.git
synced 2025-07-16 18:44:38 +02:00
Merge pull request #406 from bocoup/fix-missing-var
Fix missing variable declaration
This commit is contained in:
commit
ce98c25647
@ -1193,6 +1193,7 @@ function isCanonicalizedStructurallyValidTimeZoneName(timeZone) {
|
|||||||
* @exception if the test fails.
|
* @exception if the test fails.
|
||||||
*/
|
*/
|
||||||
function testArraysAreSame(expected, actual) {
|
function testArraysAreSame(expected, actual) {
|
||||||
|
var i;
|
||||||
for (i = 0; i < Math.max(actual.length, expected.length); i++) {
|
for (i = 0; i < Math.max(actual.length, expected.length); i++) {
|
||||||
if (actual[i] !== expected[i]) {
|
if (actual[i] !== expected[i]) {
|
||||||
$ERROR("Result array element at index " + i + " should be \"" +
|
$ERROR("Result array element at index " + i + " should be \"" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user