☰
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-proposal-class-properties
/
test
/
fixtures
/
private-loose
/
constructor-collision
/
exec.js
☽
☼
packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/constructor-collision/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var
foo =
"bar"
;
2
3
class
Foo
{
4
#bar = foo;
5
6
constructor
() {
7
var
foo =
"foo"
;
8
}
9
10
test
() {
11
return
this.#bar;
12
}
13
}
14
15
const
f =
new
Foo
;
16
expect
(f.
test
()).
toBe
(foo);
17
expect
(
"bar"
in
f).
toBe
(
false
);