summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/proxy/bug1714531.js
blob: 03fcb483bfc37187b3a00880d853516340d9b269 (plain)
1
2
3
4
5
6
var p = new Proxy({ get a() { } }, {
  defineProperty() {
    return true;
  }
});
Object.defineProperty(p, "a", { value: 1 });