mirror of
https://github.com/tc39/test262.git
synced 2025-07-19 20:14:56 +02:00
parent
e06ede9a65
commit
e1ec3c29b3
@ -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 \"" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user