Added tests for parameter initializers.

This commit is contained in:
Daniel Rosenwasser 2015-09-09 12:47:31 -07:00
parent 8952ed66b2
commit 5aa17cd671
2 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,10 @@
for (var {} = {}, {} = {}; false; void 0) {
}
function f({} = a, [] = a, { p: {} = a} = a) {
return ({} = a, [] = a, { p: {} = a } = a) => a;
}
})();
(function () {

View file

@ -21,6 +21,10 @@
for (var {} = {}, {} = {}; false; void 0) {
}
function f({} = a, [] = a, { p: {} = a} = a) {
return ({} = a, [] = a, { p: {} = a } = a) => a;
}
})();
(function () {