blob: 2d1f621984be1f142cf195a301f1e754cf91cde3 [file] [log] [blame]
description(
"Make sure we don't crash when doing a put-direct-index beyond the vector length of a normal JSObject."
);
var o = {};
for (var i = 0; i < 100005; i += 3)
Object.defineProperty(o, i, {enumerable:true, writable:true, configurable:true, value:"foo"});
shouldBe("o[0]", "\"foo\"");