8 lines
143 B
TypeScript
8 lines
143 B
TypeScript
|
function log(a) { }
|
||
|
|
||
|
class Vector {
|
||
|
static foo = () => {
|
||
|
// 'this' should not be available in a static initializer.
|
||
|
log(this);
|
||
|
}
|
||
|
}
|