//// [nonPrimitiveIndexingWithForInSupressError.ts]
var a: object;

for (var key in a) {
    var value = a[key];
}


//// [nonPrimitiveIndexingWithForInSupressError.js]
var a;
for (var key in a) {
    var value = a[key];
}
