11 lines
229 B
JavaScript
11 lines
229 B
JavaScript
|
//// [functionWithDefaultParameterWithNoStatements9.ts]
|
||
|
function foo(a = console.log) { }
|
||
|
|
||
|
function bar(a = console.log) {
|
||
|
}
|
||
|
|
||
|
//// [functionWithDefaultParameterWithNoStatements9.js]
|
||
|
function foo(a) { }
|
||
|
function bar(a) {
|
||
|
}
|