15 lines
222 B
TypeScript
15 lines
222 B
TypeScript
//// [propertyAccessibility2.ts]
|
|
class C {
|
|
private static x = 1;
|
|
}
|
|
var c = C.x;
|
|
|
|
|
|
//// [propertyAccessibility2.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.x = 1;
|
|
return C;
|
|
})();
|
|
var c = C.x;
|