mirror of
https://github.com/tc39/test262.git
synced 2025-05-05 15:30:32 +02:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
// This test should not crash.
|
|
|
|
Object.defineProperty(Object.prototype, 0, { set() {} });
|
|
|
|
var foo = Function.bind.call(new Proxy(Array, {}));
|
|
for (var i = 10; i < 50; ++i) {
|
|
var args = Array(i).fill(i);
|
|
new foo(...args);
|
|
gc()
|
|
}
|