blob: 46f26e4443af75f77edcbeaef36bb6dd2a002f4a [file] [log] [blame]
var count = 0;
var arr = new Array(10);
function func(val) {
if (count++ > 300)
return;
try { Object.prototype.__defineGetter__(Symbol.isConcatSpreadable, val);
} catch(e) {}
arr[Symbol.iterator] = arr;
try { arr.concat(arr, new Array(10)); } catch(e) {}
}
for (var i=0; i < 2; i ++) {
func(new Proxy(func, []));
}