blob: 83b25e56b1d2e1c277f6a3420791ae13769d1983 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
//@ runNoFTL
function foo() {
return new Array();
}
var arrays = [];
for (var i = 0; i < 100000; ++i)
arrays.push(foo());
for (var i = 0; i < 100000; ++i) {
if (arrays[i].length != 0)
throw "Error";
}