mirror of https://github.com/tc39/test262.git
15 lines
327 B
JavaScript
15 lines
327 B
JavaScript
//@ runDefault("--jitPolicyScale=0")
|
|
function compareArray(a, b) {
|
|
if (b.length !== a.length) {
|
|
return;
|
|
}
|
|
for (var i = 0; i < a.length; i++) {
|
|
b[0];
|
|
}
|
|
}
|
|
compareArray([], [0]);
|
|
compareArray([0, 'b'].copyWithin(), ['a', 0]);
|
|
compareArray([0], [1.1]);
|
|
runString('');
|
|
for (var i = 0; i < 1e6; ++i);
|