TypeScript/tests/baselines/reference/functionCall10.js
2015-02-06 18:45:09 -08:00

16 lines
206 B
JavaScript

//// [functionCall10.ts]
function foo(...a:number[]){};
foo(0, 1);
foo('foo');
foo();
foo(1, 'bar');
//// [functionCall10.js]
function foo() { }
;
foo(0, 1);
foo('foo');
foo();
foo(1, 'bar');