On 8/9/2013 3:36 PM, Axel Rauschmayer wrote:
    let { +a: foo, b: bar } = { a: 1 };  // foo = 1, b = undefined
    let { +a: foo, b: bar } = { };  // exception

    function bla(+mandatoryArg, optionalArg1, optionalArg2 = 123) {
        ...
    }

I presume these would also be valid, and do the expected:

```js
function foo({ +bar }){ }
function foo2([+bar2]){ }
```

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to