mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements9.ts] ////
|
|
|
|
//// [functionWithDefaultParameterWithNoStatements9.ts]
|
|
function foo(a = console.log) { }
|
|
|
|
function bar(a = console.log) {
|
|
}
|
|
|
|
//// [functionWithDefaultParameterWithNoStatements9.js]
|
|
"use strict";
|
|
function foo(a = console.log) { }
|
|
function bar(a = console.log) {
|
|
}
|