mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Added tests where parameters have initializers.
This commit is contained in:
@@ -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