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