TypeScript/tests/baselines/reference/compoundVarDecl1.js

13 lines
241 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [compoundVarDecl1.ts]
module Foo { var a = 1, b = 1; a = b + 2; }
var foo = 4, bar = 5;
//// [compoundVarDecl1.js]
var Foo;
(function (Foo) {
var a = 1, b = 1;
a = b + 2;
})(Foo || (Foo = {}));
var foo = 4, bar = 5;