☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-classes
/
test
/
fixtures
/
extend-builtins
/
super-called
/
exec.js
☽
☼
packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/super-called/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var
called =
false
;
2
3
var
env = {
4
Array
:
function
Array
() {
5
called =
true
;
6
}
7
};
8
9
// We need to use "with" to avoid leaking the modified Array to other tests.
10
with
(env) {
11
class
List
extends
Array
{};
12
new
List
();
13
14
expect
(called).
toBe
(
true
);
15
}