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