29 lines
473 B
JavaScript
29 lines
473 B
JavaScript
//// [cloduleStaticMembers.ts]
|
|
class Clod {
|
|
private static x = 10;
|
|
public static y = 10;
|
|
}
|
|
module Clod {
|
|
var p = Clod.x;
|
|
var q = x;
|
|
|
|
var s = Clod.y;
|
|
var t = y;
|
|
}
|
|
|
|
|
|
//// [cloduleStaticMembers.js]
|
|
var Clod = (function () {
|
|
function Clod() {
|
|
}
|
|
Clod.x = 10;
|
|
Clod.y = 10;
|
|
return Clod;
|
|
})();
|
|
var Clod;
|
|
(function (Clod) {
|
|
var p = Clod.x;
|
|
var q = x;
|
|
var s = Clod.y;
|
|
var t = y;
|
|
})(Clod || (Clod = {}));
|