TypeScript/tests/baselines/reference/functionCall6.js

16 lines
201 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [functionCall6.ts]
function foo(a:string){};
foo('bar');
foo(2);
foo('foo', 'bar');
foo();
//// [functionCall6.js]
function foo(a) { }
2014-07-13 01:04:16 +02:00
;
foo('bar');
foo(2);
foo('foo', 'bar');
foo();