Added tests where parameters have initializers.

This commit is contained in:
Daniel Rosenwasser 2015-06-22 17:40:13 -07:00
parent 1dd5a99557
commit ebf486f711
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
function f([] = [1,2,3,4]) {
var x, y, z;
}

View File

@ -0,0 +1,5 @@
function f({} = {a: 1, b: "2", c: true}) {
var x, y, z;
}