10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
//// [superCallFromFunction1.ts]
|
|
|
|
function foo() {
|
|
super(value => String(value));
|
|
}
|
|
|
|
//// [superCallFromFunction1.js]
|
|
function foo() {
|
|
_super.call(this, function (value) { return String(value); });
|
|
}
|