TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements13.ts

6 lines
80 B
TypeScript

var v: any[];
function foo(a = [1 + 1]) { }
function bar(a = [1 + 1]) {
}