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