mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:13:31 -06:00
Added tests where parameters have initializers.
This commit is contained in:
parent
1dd5a99557
commit
ebf486f711
@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
function f([] = [1,2,3,4]) {
|
||||
var x, y, z;
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
function f({} = {a: 1, b: "2", c: true}) {
|
||||
var x, y, z;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user