☰
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
/
destructuring-array-pattern-static
/
exec.js
☽
☼
packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/destructuring-array-pattern-static/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class
Foo
{
2
static
#client
3
4
constructor
(props) {
5
;([
Foo
.#client] = props);
6
}
7
8
getClient
() {
9
return
Foo
.#client;
10
}
11
}
12
13
const
foo =
new
Foo
([
'bar'
]);
14
expect
(foo.
getClient
()).
toBe
(
'bar'
);