blob: ce5f4a7edd277367d8ecae919d12a3b8bd25cfb1 [file] [log] [blame]
function bar(testArgs) {
(() => {
try {
testArgs.func.call(1);
} catch (e) {
if (!testArgs.qux) {
return e == testArgs.qux;
}
}
})();
}
for (var i = 0; i < 100000; i++) {
[
{
func: ()=>{},
},
{
func: Int8Array.prototype.values,
foo: 0
},
{
func: Int8Array.prototype.values,
qux: 2
},
{
func: Int8Array.prototype.values,
},
].forEach(bar);
}