Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2018-09-misc/method-name-not-shadow/exec.js

raw symbols SCIP
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");