Consider the following code:
class Foo {
private static temp: Number;
public static testIt() {
this.temp = 0;// Var 1
Foo.temp = 0;// Var 2
}
}
I don't get any errors from TS when I compile this class. Does it mean that both variants are possible to refer static variable?