3 lines
77 B
TypeScript
3 lines
77 B
TypeScript
class Foo {
|
|
constructor(public x: number, public y: number = x) { }
|
|
}
|