23 lines
395 B
TypeScript
23 lines
395 B
TypeScript
//// [computedPropertyNames28_ES6.ts]
|
|
class Base {
|
|
}
|
|
class C extends Base {
|
|
constructor() {
|
|
super();
|
|
var obj = {
|
|
[(super(), "prop")]() { }
|
|
};
|
|
}
|
|
}
|
|
|
|
//// [computedPropertyNames28_ES6.js]
|
|
class Base {
|
|
}
|
|
class C extends Base {
|
|
constructor() {
|
|
super();
|
|
var obj = {
|
|
[(super(), "prop")]() { }
|
|
};
|
|
}
|
|
}
|