40 lines
845 B
JavaScript
40 lines
845 B
JavaScript
|
//// [tests/cases/compiler/protoAsIndexInIndexExpression.ts] ////
|
||
|
|
||
|
//// [protoAsIndexInIndexExpression_0.ts]
|
||
|
export var x;
|
||
|
|
||
|
//// [protoAsIndexInIndexExpression_1.ts]
|
||
|
///<reference path='protoAsIndexInIndexExpression_0.ts'/>
|
||
|
var EntityPrototype = undefined;
|
||
|
var WorkspacePrototype = {
|
||
|
serialize: function (): any {
|
||
|
}
|
||
|
};
|
||
|
WorkspacePrototype['__proto__'] = EntityPrototype;
|
||
|
|
||
|
var o = {
|
||
|
"__proto__": 0
|
||
|
};
|
||
|
class C {
|
||
|
"__proto__" = 0;
|
||
|
}
|
||
|
|
||
|
//// [protoAsIndexInIndexExpression_0.js]
|
||
|
exports.x;
|
||
|
//// [protoAsIndexInIndexExpression_1.js]
|
||
|
var EntityPrototype = undefined;
|
||
|
var WorkspacePrototype = {
|
||
|
serialize: function () {
|
||
|
}
|
||
|
};
|
||
|
WorkspacePrototype['__proto__'] = EntityPrototype;
|
||
|
var o = {
|
||
|
"__proto__": 0
|
||
|
};
|
||
|
var C = (function () {
|
||
|
function C() {
|
||
|
this["__proto__"] = 0;
|
||
|
}
|
||
|
return C;
|
||
|
})();
|