☰
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-decorators
/
test
/
fixtures
/
2018-09-misc
/
method-name-not-shadow
/
exec.js
☽
☼
packages/babel-plugin-proposal-decorators/test/fixtures/2018-09-misc/method-name-not-shadow/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
function
decorator
() {}
2
3
var
method =
1
;
4
5
@decorator
6
class
Foo
{
7
method
() {
8
return
method;
9
}
10
}
11
12
expect
(
new
Foo
().
method
()).
toBe
(
1
);
13
expect
(
Foo
.
prototype
.
method
.
name
).
toBe
(
"method"
);