summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/proxy/getElementIfPresent-not-present.js
blob: ccfb92d8c4c7e5127f5bf58db1856a5fecce22c4 (plain)
1
2
3
4
5
x = (/x/).exec();
y = wrapWithProto((new WeakMap), x);
y.length = 7;
Array.prototype.push.call(y, 1);
Array.prototype.reverse.call(y);