mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
269 B
TypeScript
19 lines
269 B
TypeScript
//// [tests/cases/compiler/functionCall6.ts] ////
|
|
|
|
//// [functionCall6.ts]
|
|
function foo(a:string){};
|
|
foo('bar');
|
|
foo(2);
|
|
foo('foo', 'bar');
|
|
foo();
|
|
|
|
|
|
//// [functionCall6.js]
|
|
"use strict";
|
|
function foo(a) { }
|
|
;
|
|
foo('bar');
|
|
foo(2);
|
|
foo('foo', 'bar');
|
|
foo();
|