2014-07-13 01:04:16 +02:00
|
|
|
//// [functionCall4.ts]
|
|
|
|
function foo():any{return ""};
|
|
|
|
function bar():()=>any{return foo};
|
|
|
|
var x = bar();
|
|
|
|
|
|
|
|
//// [functionCall4.js]
|
2015-02-07 05:03:24 +01:00
|
|
|
function foo() { return ""; }
|
2014-07-13 01:04:16 +02:00
|
|
|
;
|
2015-02-07 05:03:24 +01:00
|
|
|
function bar() { return foo; }
|
2014-07-13 01:04:16 +02:00
|
|
|
;
|
|
|
|
var x = bar();
|