13 lines
289 B
JavaScript
13 lines
289 B
JavaScript
//// [moduleVariableArrayIndexer.ts]
|
|
module Bar {
|
|
export var a = 1;
|
|
var t = undefined[a][a]; // CG: var t = undefined[Bar.a][a];
|
|
}
|
|
|
|
|
|
//// [moduleVariableArrayIndexer.js]
|
|
var Bar;
|
|
(function (Bar) {
|
|
Bar.a = 1;
|
|
var t = undefined[Bar.a][Bar.a];
|
|
})(Bar || (Bar = {}));
|