mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
5 lines
158 B
TypeScript
5 lines
158 B
TypeScript
// @target: es5
|
|
function foo(x: string, y = 10) { }
|
|
function baz(x: string, y = 5, ...rest) { }
|
|
function bar(y = 10) { }
|
|
function bar1(y = 10, ...rest) { } |