Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/spec/constructor/input.js

raw
1 class Test {
2 constructor() {
3 this.state = "test";
4 }
5 }
6
7 class Foo extends Bar {
8 constructor() {
9 super();
10 this.state = "test";
11 }
12 }
13
14 class ConstructorScoping {
15 constructor(){
16 let bar;
17 {
18 let bar;
19 }
20 }
21 }