TypeScript/tests/baselines/reference/functionCall2.js

11 lines
157 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [functionCall2.ts]
function foo():number{return 1};
var x = foo();
//// [functionCall2.js]
function foo() {
return 1;
}
;
var x = foo();