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