Files
tsgo/testdata/baselines/reference/submodule/compiler/functionWithDefaultParameterWithNoStatements16.js

17 lines
359 B
TypeScript

//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements16.ts] ////
//// [functionWithDefaultParameterWithNoStatements16.ts]
var v: any[];
function foo(a = bar()) { }
function bar(a = foo()) {
}
//// [functionWithDefaultParameterWithNoStatements16.js]
"use strict";
var v;
function foo(a = bar()) { }
function bar(a = foo()) {
}