14 lines
281 B
TypeScript
14 lines
281 B
TypeScript
class Test
|
|
{
|
|
_b = this._a; // undefined, no error/warning
|
|
_a = 3;
|
|
|
|
static _B = Test._A; // undefined, no error/warning
|
|
static _A = 3;
|
|
|
|
method()
|
|
{
|
|
let a = b; // Property 'b' is used before its initialization.
|
|
let b = 3;
|
|
}
|
|
}
|