TypeScript/tests/baselines/reference/classExpressionWithStaticProperties1.js

12 lines
248 B
TypeScript
Raw Normal View History

2015-04-03 02:50:11 +02:00
//// [classExpressionWithStaticProperties1.ts]
var v = class C { static a = 1; static b = 2 };
//// [classExpressionWithStaticProperties1.js]
var v = (function () {
function C() {
}
C.a = 1;
C.b = 2;
return C;
})();