TypeScript/tests/baselines/reference/protoInIndexer.js

15 lines
256 B
JavaScript
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;
}
return X;
})();