summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1845698.js
blob: 1dc569879bde9cf851d5b68b756714733404ae19 (plain)
1
2
3
4
5
6
7
8
9
function f() {
    var o = {x: 1, y: 2};
    Object.defineProperty(o, "z", {value: 3, configurable: false});
    delete o.x;
    var snapshot = createShapeSnapshot(o);
    delete o.y;
    checkShapeSnapshot(snapshot);
}
f();