TypeScript/tests/baselines/reference/protoInIndexer.js

15 lines
277 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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
2014-07-13 01:04:16 +02:00
}
return X;
})();