I might be missing something but it appears in es6 you cannot default a destructured argument?
```
function foo({d}={d:1}) {
}
```
and
```
function foo({d=1}) {
}
```
don't seem to fall into the syntax, are there plans for this in the future
or something that prevented this?
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

