TypeScript/tests/cases/conformance/expressions/superPropertyAccess/superSymbolIndexedAccess6.ts
2015-07-15 15:04:24 -07:00

14 lines
No EOL
196 B
TypeScript

//@target: ES5
var symbol: any;
class Foo {
static [symbol]() {
return 0;
}
}
class Bar extends Foo {
static [symbol]() {
return super[symbol]();
}
}