blob: bbd7b0ce6ba90af19d4113653bfa1b39c7e3724a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| error: TypeError
x = [];
Object.defineProperty(this, "y", {
get: function() {
print.caller
}
});
Object.defineProperty(x, 3, {
get: function() {
y[13];
}
});
(function() {
x.shift();
})();
|