12 lines
121 B
JavaScript
12 lines
121 B
JavaScript
class Ref {
|
|
constructor(ref = Ref) {
|
|
this.ref = ref
|
|
}
|
|
}
|
|
|
|
class X {
|
|
constructor(x = foo) {
|
|
this.x = x
|
|
}
|
|
}
|