TypeScript/tests/baselines/reference/protoInIndexer.js
2014-07-12 17:30:19 -07:00

15 lines
256 B
JavaScript

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