mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
219 B
TypeScript
12 lines
219 B
TypeScript
//// [tests/cases/compiler/functionCall2.ts] ////
|
|
|
|
//// [functionCall2.ts]
|
|
function foo():number{return 1};
|
|
var x = foo();
|
|
|
|
//// [functionCall2.js]
|
|
"use strict";
|
|
function foo() { return 1; }
|
|
;
|
|
var x = foo();
|