Named Paramters
Peter van der Zee
ecma at qfox.nl
Sun Jul 12 08:32:12 UTC 2015
(A minifier that breaks your code is a broken minifier and should
never be a valid argument for these cases)
On Sun, Jul 12, 2015 at 10:29 AM, Denis Pushkarev <zloirock at zloirock.ru> wrote:
> 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.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
More information about the es-discuss
mailing list