TypeScript/tests/baselines/reference/protoInIndexer.js
2014-08-15 15:49:09 -07: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;
})();