mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added tests where parameters have initializers.
This commit is contained in:
1 parent
1dd5a99557
commit
ebf486f711
2 files changed
+10
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user