2014-07-13 01:04:16 +02:00
|
|
|
//// [functionCall10.ts]
|
|
|
|
function foo(...a:number[]){};
|
|
|
|
foo(0, 1);
|
|
|
|
foo('foo');
|
|
|
|
foo();
|
|
|
|
foo(1, 'bar');
|
|
|
|
|
|
|
|
|
|
|
|
//// [functionCall10.js]
|
2015-02-07 03:45:09 +01:00
|
|
|
function foo() { }
|
2014-07-13 01:04:16 +02:00
|
|
|
;
|
|
|
|
foo(0, 1);
|
|
|
|
foo('foo');
|
|
|
|
foo();
|
|
|
|
foo(1, 'bar');
|