blob: c6d290c84dc76adeca61316fed723a74436813da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |jit-test| --ion-limit-script-size=off
function f() {
var b1 = new ArrayBuffer(64);
for (var i = 0; i < 100; ++i) {
Object.defineProperty(b1, "x", {
configurable: true,
enumerable: true,
writable: true,
value: i
});
assertEq(b1.x, i);
}
}
f();
|