• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1module.exports = new Proxy({}, {
2  get(_target, prop) { throw new Error(`get: ${String(prop)}`); },
3  getPrototypeOf() { throw new Error('getPrototypeOf'); },
4  setPrototypeOf() { throw new Error('setPrototypeOf'); },
5  isExtensible() { throw new Error('isExtensible'); },
6  preventExtensions() { throw new Error('preventExtensions'); },
7  getOwnPropertyDescriptor() { throw new Error('getOwnPropertyDescriptor'); },
8  defineProperty() { throw new Error('defineProperty'); },
9  has() { throw new Error('has'); },
10  set() { throw new Error('set'); },
11  deleteProperty() { throw new Error('deleteProperty'); },
12  ownKeys() { throw new Error('ownKeys'); },
13  apply() { throw new Error('apply'); },
14  construct() { throw new Error('construct'); }
15});
16
17require('./warning-skip-proxy-traps-b.js');
18