TypeScript/tests/baselines/reference/protoInIndexer.js
2015-12-08 17:51:10 -08:00

15 lines
277 B
TypeScript

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