blob: 25d1b30e499609429f3ffab5c7aa83e6fe55cf92 [file] [log] [blame]
//@ requireOptions("--useDollarVM=false")
// This test should not crash.
Date.prototype.valueOf;
Math.abs;
Object.prototype.__defineGetter__(0, function () {});
class Test extends Array {}
for (let i = 0; i < 100; i++)
new Test(1, 2, 3, -4, 5, 6, 7, 8, 9).splice();
gc();