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