TypeScript/tests/baselines/reference/protoInIndexer.js

15 lines
291 B
TypeScript

//// [protoInIndexer.ts]
class X {
constructor() {
this['__proto__'] = null; // used to cause ICE
}
}
//// [protoInIndexer.js]
var X = /** @class */ (function () {
function X() {
this['__proto__'] = null; // used to cause ICE
}
return X;
}());