TypeScript/tests/baselines/reference/functionCall2.js
2014-07-12 17:30:19 -07:00

11 lines
157 B
JavaScript

//// [functionCall2.ts]
function foo():number{return 1};
var x = foo();
//// [functionCall2.js]
function foo() {
return 1;
}
;
var x = foo();