10 lines
154 B
JavaScript
10 lines
154 B
JavaScript
//// [thisKeyword.ts]
|
|
module foo {
|
|
this.bar = 4;
|
|
}
|
|
|
|
//// [thisKeyword.js]
|
|
var foo;
|
|
(function (foo) {
|
|
this.bar = 4;
|
|
})(foo || (foo = {}));
|