blob: d362d1c7632d3edd8b1e2064f4d01347bb8b78e9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| error:InternalError
var arr = [1, 2, 3];
var proxy = new Proxy(arr, {
get(target, prop) {
if (prop === "length") {
return Math.pow(2, 33);
}
}
});
JSON.stringify(proxy);
|