Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/overwritten-null/exec.js

raw symbols SCIP
1 var env = {
2 Array: null,
3 };
4
5 // We need to use "with" to avoid leaking the modified Array to other tests.
6 with (env) {
7 class List extends Array {}
8 expect(List.prototype.__proto__).toBeUndefined();
9 }