blob: add1e107cdd4f1b6324b82c9d83e36011ffeabec [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
{
function isArray(array)
{
return Array.isArray(array);
}
noInline(isArray);
let proxy = new Proxy([], {});
for (let i = 0; i < 1e5; ++i) {
if (!isArray(proxy))
throw new Error(`bad error`);
}
}
{
function isArray(array)
{
return Array.isArray(array);
}
noInline(isArray);
let proxy = new Proxy({}, {});
for (let i = 0; i < 1e5; ++i) {
if (isArray(proxy))
throw new Error(`bad error`);
}
}