Named Paramters

Denis Pushkarev zloirock at zloirock.ru
Sun Jul 12 08:29:16 UTC 2015


1. It would break backwards compatibility:

```js
var bar = 1;
if(baz(bar))foo(bar = 5);
console.log(bar); // 5 in some cases
```

2. Code with this feature will be broken after minification.


More information about the es-discuss mailing list