Debian Codegraph @

packages/babel-plugin-proposal-object-rest-spread/test/fixtures/assumption-setSpreadProperties-with-useBuiltIns/no-getOwnPropertyDescriptors/exec.js

raw
1 const oldGOPDs = Object.getOwnPropertyDescriptors;
2 Object.getOwnPropertyDescriptors = null;
3
4 try {
5 ({ ...{ a: 1 }, b: 1, ...{} });
6 } finally {
7 Object.getOwnPropertyDescriptors = oldGOPDs;
8 }
9